diff options
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/power-gigabeat-s.c')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/power-gigabeat-s.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/power-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/power-gigabeat-s.c index 5b255a0e27..d194a69ab1 100644 --- a/firmware/target/arm/imx31/gigabeat-s/power-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/power-gigabeat-s.c | |||
@@ -68,8 +68,7 @@ static void update_main_charger(bool present) | |||
68 | /* Detect changes in presence of the AC adaptor. Called from PMIC ISR. */ | 68 | /* Detect changes in presence of the AC adaptor. Called from PMIC ISR. */ |
69 | void charger_main_detect_event(void) | 69 | void charger_main_detect_event(void) |
70 | { | 70 | { |
71 | update_main_charger(mc13783_event_sense(MC13783_INT_ID_SE1) | 71 | update_main_charger(mc13783_event_sense(MC13783_SE1_EVENT)); |
72 | & MC13783_SE1S); | ||
73 | } | 72 | } |
74 | 73 | ||
75 | /* Detect changes in USB bus power. Called from usb connect event ISR. */ | 74 | /* Detect changes in USB bus power. Called from usb connect event ISR. */ |