diff options
Diffstat (limited to 'firmware/target/arm/imx233/powermgmt-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/powermgmt-imx233.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/powermgmt-imx233.c b/firmware/target/arm/imx233/powermgmt-imx233.c index 87c48e7655..0f3336d602 100644 --- a/firmware/target/arm/imx233/powermgmt-imx233.c +++ b/firmware/target/arm/imx233/powermgmt-imx233.c | |||
@@ -38,7 +38,7 @@ static int timeout_topping_off; /* timeout before stopping charging after toppin | |||
38 | static int timeout_4p2_ilimit_increase; /* timeout before increasing 4p2 ilimit */ | 38 | static int timeout_4p2_ilimit_increase; /* timeout before increasing 4p2 ilimit */ |
39 | 39 | ||
40 | /* Returns battery voltage from ADC [millivolts] */ | 40 | /* Returns battery voltage from ADC [millivolts] */ |
41 | unsigned int battery_adc_voltage(void) | 41 | int _battery_voltage(void) |
42 | { | 42 | { |
43 | /* battery value is in 8mV LSB */ | 43 | /* battery value is in 8mV LSB */ |
44 | return __XTRACT(HW_POWER_BATTMONITOR, BATT_VAL) * 8; | 44 | return __XTRACT(HW_POWER_BATTMONITOR, BATT_VAL) * 8; |