Mercurial > public > ostc4
diff Discovery/Src/tMenuEditCvOption.c @ 1001:21142f4fa968 GasConsumption
Cleanup menu structucture afer menu shift:
Compass and timer have been moved to the new menu => some code cleanup was needed.
| author | Ideenmodellierer |
|---|---|
| date | Mon, 28 Apr 2025 22:53:36 +0200 |
| parents | ac25c35a3c97 |
| children | 85f7e19c6688 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditCvOption.c Mon Apr 28 19:51:36 2025 +0200 +++ b/Discovery/Src/tMenuEditCvOption.c Mon Apr 28 22:53:36 2025 +0200 @@ -280,6 +280,8 @@ snprintf(text, 32, "\001%c%c", TXT_2BYTE, TXT2BYTE_Timer); write_topline(text); + set_globalState(StMOption_Timer); + uint16_t yPos = ME_Y_LINE_BASE + get_globalState_Menu_Line() * ME_Y_LINE_STEP; snprintf(text, 32, "%c%c", TXT_2BYTE, TXT2BYTE_Timer); write_label_var(30, 299, yPos, &FontT48, text);
