diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c index 1a8e12182a..2809644589 100644 --- a/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c | |||
@@ -216,7 +216,7 @@ static bool main_charger_connected(void) | |||
216 | /* Return the voltage level which should automatically trigger | 216 | /* Return the voltage level which should automatically trigger |
217 | * another recharge cycle based upon which power source is available. | 217 | * another recharge cycle based upon which power source is available. |
218 | * Assumes at least one is. */ | 218 | * Assumes at least one is. */ |
219 | static unsigned int auto_recharge_voltage(void) | 219 | static int auto_recharge_voltage(void) |
220 | { | 220 | { |
221 | if (main_charger_connected()) | 221 | if (main_charger_connected()) |
222 | return BATT_VAUTO_RECHARGE; | 222 | return BATT_VAUTO_RECHARGE; |