diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 2 |
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) | |||
889 | if(probed_ramsize == 64) | 889 | if(probed_ramsize == 64) |
890 | x = (adc_read(ADC_4066_ISTAT) * 2400) / (1024 * 2); | 890 | x = (adc_read(ADC_4066_ISTAT) * 2400) / (1024 * 2); |
891 | else | 891 | else |
892 | #endif | ||
892 | x = (adc_read(ADC_4066_ISTAT) * 2400) / (1024 * 3); | 893 | x = (adc_read(ADC_4066_ISTAT) * 2400) / (1024 * 3); |
893 | lcd_putsf(0, 8, "Ibat: %d mA", x); | 894 | lcd_putsf(0, 8, "Ibat: %d mA", x); |
894 | lcd_putsf(0, 9, "Vbat * Ibat: %d mW", x * y / 1000); | 895 | lcd_putsf(0, 9, "Vbat * Ibat: %d mW", x * y / 1000); |
895 | #endif | ||
896 | #elif defined TOSHIBA_GIGABEAT_S | 896 | #elif defined TOSHIBA_GIGABEAT_S |
897 | int line = 3; | 897 | int line = 3; |
898 | unsigned int st; | 898 | unsigned int st; |