summaryrefslogtreecommitdiffstats
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index b557f46dc3..9e4621b749 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -889,10 +889,10 @@ static bool view_battery(void)
if(probed_ramsize == 64)
x = (adc_read(ADC_4066_ISTAT) * 2400) / (1024 * 2);
else
+#endif
x = (adc_read(ADC_4066_ISTAT) * 2400) / (1024 * 3);
lcd_putsf(0, 8, "Ibat: %d mA", x);
lcd_putsf(0, 9, "Vbat * Ibat: %d mW", x * y / 1000);
-#endif
#elif defined TOSHIBA_GIGABEAT_S
int line = 3;
unsigned int st;