summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c2
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. */
219static unsigned int auto_recharge_voltage(void) 219static 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;