Mercurial > public > ostc4
diff Discovery/Src/tMenuEditHardware.c @ 854:48b6a3b1f3f8 Evo_2_23
Development bugfix menu id handling:
Fixed some issues which showed up after cleanup of the menu id handling
author | Ideenmodellierer |
---|---|
date | Sat, 09 Mar 2024 20:05:33 +0100 |
parents | bc2fcd002fc4 |
children | 940f8e132638 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditHardware.c Thu Mar 07 21:51:18 2024 +0100 +++ b/Discovery/Src/tMenuEditHardware.c Sat Mar 09 20:05:33 2024 +0100 @@ -285,6 +285,10 @@ char text[10]; uint8_t textIndex = 0; + + set_globalState(StMHARD2_Compass); + resetMenuEdit(CLUT_MenuPageHardware); + text[textIndex++] = '\001'; text[textIndex++] = TXT_2BYTE; text[textIndex++] = TXT2BYTE_Compass; @@ -320,6 +324,8 @@ setEvent(StMHARD2_Compass_Inertia, (uint32_t)OnAction_InertiaLevel); setEvent(StMHARD2_Compass_Declination, (uint32_t)OnAction_CompassDeclination); + tMenuEdit_select(StMHARD2_Compass_SetCourse); + write_buttonTextline(TXT2BYTE_ButtonBack,TXT2BYTE_ButtonEnter,TXT2BYTE_ButtonNext); }