Issue 101 fixed

This commit is contained in:
bsongis
2012-09-03 18:26:53 +00:00
parent d9cb411c12
commit 88b5b8f82c
+2 -1
View File
@@ -3670,7 +3670,8 @@ void menusTask(void * pdata)
if (shutdown_state != e_power_usb) {
displayPopup(STR_SHUTDOWN);
MAh_used += Current_used/22/36;
MAh_used += Current_used * (488 + g_eeGeneral.currentCalib) / 8192 / 36;
if (g_eeGeneral.mAhUsed != MAh_used) {
g_eeGeneral.mAhUsed = MAh_used;
STORE_GENERALVARS;