summaryrefslogtreecommitdiff
path: root/apps/plugins/battery_bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/battery_bench.c')
-rw-r--r--apps/plugins/battery_bench.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/battery_bench.c b/apps/plugins/battery_bench.c
index 8c71f0e..1d3694c 100644
--- a/apps/plugins/battery_bench.c
+++ b/apps/plugins/battery_bench.c
@@ -250,10 +250,9 @@ void thread(void)
bat[j].eta / 60, bat[j].eta % 60,
#if CONFIG_CHARGING || defined(HAVE_USB_POWER)
(bat[j].voltage &
- (~(BIT_CHARGER|BIT_CHARGING|BIT_USB_POWER)))
- *10,
+ (~(BIT_CHARGER|BIT_CHARGING|BIT_USB_POWER))),
#else
- bat[j].voltage * 10,
+ bat[j].voltage,
#endif
temp + 1 + (j-i)
#if CONFIG_CHARGING