diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-04 00:13:06 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-04 00:13:06 +0000 |
commit | d6db4cc105819f004fbb2207d511f1ae8889c9af (patch) | |
tree | 770ba899fe043ea40f491fc2a4a337b0890a1377 /firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c | |
parent | 0f714756061924b2e7a4f93d5246b83e96220726 (diff) | |
download | rockbox-d6db4cc105819f004fbb2207d511f1ae8889c9af.tar.gz rockbox-d6db4cc105819f004fbb2207d511f1ae8889c9af.zip |
Fix beast warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31552 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c')
-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; |