Mercurial > public > ostc4
diff Discovery/Src/tMenuEditSystem.c @ 437:6c824f902934
Merged in Ideenmodellierer/ostc4/Improve_BatteryGasGauge (pull request #40)
Improve BatteryGasGauge
author | heinrichsweikamp <bitbucket@heinrichsweikamp.com> |
---|---|
date | Mon, 24 Feb 2020 07:58:37 +0000 |
parents | 8851702173e0 |
children | f2c4f5c90540 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditSystem.c Tue Feb 18 12:41:45 2020 +0100 +++ b/Discovery/Src/tMenuEditSystem.c Mon Feb 24 07:58:37 2020 +0000 @@ -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;