summaryrefslogtreecommitdiff
path: root/firmware/target/sh/archos/player/powermgmt-player.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/sh/archos/player/powermgmt-player.c')
-rw-r--r--firmware/target/sh/archos/player/powermgmt-player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/sh/archos/player/powermgmt-player.c b/firmware/target/sh/archos/player/powermgmt-player.c
index b9a4fe3277..8aa03d88a5 100644
--- a/firmware/target/sh/archos/player/powermgmt-player.c
+++ b/firmware/target/sh/archos/player/powermgmt-player.c
@@ -56,7 +56,7 @@ const unsigned short percent_to_volt_charge[11] =
/* full-scale ADC readout (2^10) in millivolt */
/* Returns battery voltage from ADC [millivolts] */
-unsigned int battery_adc_voltage(void)
+int _battery_voltage(void)
{
return (adc_read(ADC_UNREG_POWER) * BATTERY_SCALE_FACTOR) >> 10;
}