comparison Discovery/Src/tMenu.c @ 1073:734f84b72b30 Icon_Integration tip

CV Option Menu added sub menus for O2 and CO2 sensors: In the previous implementation by the external sensor menu the problem exists that only three sensor could be displayed. If three o2 sensors were active then the CO2 sensor was not accessible. With the new dynamic view the CO2 sensor is a standalone menu element. The three sensor view was reused from the external sensor menu by introducing a filter (sensor type) functionality. O" and CO2 sensors may now be calibrated using the cv option sub menus.
author Ideenmodellierer
date Fri, 20 Feb 2026 17:26:46 +0100
parents b4a79464caf7
children
comparison
equal deleted inserted replaced
1072:8b97003dbb60 1073:734f84b72b30
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)
967 {
968 SStateList list;
969 get_idSpecificStateList(pageID, &list);
970
971 if(list.page < MAXPAGES)
972 {
973 menu.linesAvailableForPage[list.page] = lineCnt;
974 }
975 }
976
966 void block_diluent_page(void) 977 void block_diluent_page(void)
967 { 978 {
968 block_diluent_handler(0); 979 block_diluent_handler(0);
969 } 980 }
970 981