summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/samsung/yh925/powermgmt-yh925.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/samsung/yh925/powermgmt-yh925.c')
-rw-r--r--firmware/target/arm/samsung/yh925/powermgmt-yh925.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/samsung/yh925/powermgmt-yh925.c b/firmware/target/arm/samsung/yh925/powermgmt-yh925.c
index 6d7e3487aa..8945bdbf78 100644
--- a/firmware/target/arm/samsung/yh925/powermgmt-yh925.c
+++ b/firmware/target/arm/samsung/yh925/powermgmt-yh925.c
@@ -54,6 +54,5 @@ const unsigned short percent_to_volt_charge[11] =
/* Returns battery voltage from ADC [millivolts] */
unsigned int battery_adc_voltage(void)
{
- /* return (adc_read(ADC_UNREG_POWER) * BATTERY_SCALE_FACTOR) >> 10; */
- return 4100;
+ return (adc_read(ADC_UNREG_POWER) * BATTERY_SCALE_FACTOR) >> 10;
}