summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1a8e121..2809644 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)
/* Return the voltage level which should automatically trigger
* another recharge cycle based upon which power source is available.
* Assumes at least one is. */
-static unsigned int auto_recharge_voltage(void)
+static int auto_recharge_voltage(void)
{
if (main_charger_connected())
return BATT_VAUTO_RECHARGE;