diff options
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index f18ea3c636..f258502c2c 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -117,7 +117,7 @@ void battery_read_info(int *adc, int *voltage, int *level) | |||
117 | battery_status_update(); | 117 | battery_status_update(); |
118 | 118 | ||
119 | if (adc) | 119 | if (adc) |
120 | *adc = batt_centivolts*10000 / BATTERY_SCALE_FACTOR; | 120 | *adc = batt_centivolts; /* just return something */ |
121 | 121 | ||
122 | if (voltage) | 122 | if (voltage) |
123 | *voltage = batt_centivolts; | 123 | *voltage = batt_centivolts; |