Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
432:2b4440f75434 | 437:6c824f902934 |
---|---|
1519 | 1519 |
1520 text[0] = TXT_2BYTE; | 1520 text[0] = TXT_2BYTE; |
1521 text[1] = TXT2BYTE_WarnBatteryLow; | 1521 text[1] = TXT2BYTE_WarnBatteryLow; |
1522 text[2] = 0; | 1522 text[2] = 0; |
1523 snprintf(&text[2],10,": %01.2fV",stateRealGetPointer()->lifeData.battery_voltage); | 1523 snprintf(&text[2],10,": %01.2fV",stateRealGetPointer()->lifeData.battery_voltage); |
1524 write_label_var( 30, 800, ME_Y_LINE4, &FontT42, text); | 1524 write_label_var( 30, 800, ME_Y_LINE5, &FontT42, text); |
1525 | 1525 |
1526 snprintf(&text[0],30,"Code: %X",getLicence()); | 1526 snprintf(&text[0],30,"Code: %X",getLicence()); |
1527 write_label_var( 30, 800, ME_Y_LINE6, &FontT42, text); | 1527 write_label_var( 30, 800, ME_Y_LINE6, &FontT42, text); |
1528 break; | 1528 break; |
1529 | 1529 |
1530 } | 1530 } |