comparison Discovery/Src/tMenu.c @ 1075:ef99fff2d2de Icon_Integration tip

Unlock button lock if BT is connected: In the previous version the button lock coluld only be disabled by following the correct button press order. In case a button does not work (e.g. low button sensitifity) the OSTC would be locked. To avoid such a scenario the button lock is now also removed if the OSTC is connected via Bluetooth
author ideenmodellierer
date Sun, 22 Feb 2026 20:00:00 +0100
parents 734f84b72b30
children
comparison
equal deleted inserted replaced
1074:ad61a2c9095a 1075:ef99fff2d2de
961 linesAvailableForPageDiluent = menu.linesAvailableForPage[list.page]; 961 linesAvailableForPageDiluent = menu.linesAvailableForPage[list.page];
962 menu.linesAvailableForPage[list.page] = 0; 962 menu.linesAvailableForPage[list.page] = 0;
963 } 963 }
964 } 964 }
965 965
966 tM_setLinesForPage(uint32_t pageID, uint8_t lineCnt) 966 void tM_setLinesForPage(uint32_t pageID, uint8_t lineCnt)
967 { 967 {
968 SStateList list; 968 SStateList list;
969 get_idSpecificStateList(pageID, &list); 969 get_idSpecificStateList(pageID, &list);
970 970
971 if(list.page < MAXPAGES) 971 if(list.page < MAXPAGES)