# HG changeset patch # User ideenmodellierer # Date 1582489037 -3600 # Node ID 8851702173e080814ced89382defc1bbdf6c80cd # Parent f68f2c4d71c75baf2ae2ee992438ee7b84862a39 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 diff -r f68f2c4d71c7 -r 8851702173e0 Discovery/Src/tMenuEditSystem.c --- 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;