changeset 435:8851702173e0 Improve_BatteryGasGauge

Bugfix display battery voltage in maintainance menu: Battery voltage was displayed in the same line as the (situation depending) restorage option for last known battery charge status
author ideenmodellierer
date Sun, 23 Feb 2020 21:17:17 +0100
parents f68f2c4d71c7
children 079f32a8e68c
files Discovery/Src/tMenuEditSystem.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditSystem.c	Sun Feb 23 21:13:28 2020 +0100
+++ b/Discovery/Src/tMenuEditSystem.c	Sun Feb 23 21:17:17 2020 +0100
@@ -1521,8 +1521,8 @@
         text[1] = TXT2BYTE_WarnBatteryLow;
         text[2] = 0;
         snprintf(&text[2],10,": %01.2fV",stateRealGetPointer()->lifeData.battery_voltage);
-        write_label_var(  30, 800, ME_Y_LINE4, &FontT42, text);
-
+        write_label_var(  30, 800, ME_Y_LINE5, &FontT42, text);
+        
         snprintf(&text[0],30,"Code: %X",getLicence());
         write_label_var(  30, 800, ME_Y_LINE6, &FontT42, text);
         break;