comparison Discovery/Src/tMenuEditHardware.c @ 850:bc2fcd002fc4 Evo_2_23

Check line enable/disable state when a new page is selected: Some lines may change the enable/disable state based on events which are triggered from outside the page scope (for example sensor setup). Updating the line states while another page is active caused problems in the framebuffer handling. To solve this usecase the conditions for the line dis/enabling is checked when a "nextPage" is selected. If condition changed then the page will be refreshed.
author Ideenmodellierer
date Fri, 01 Mar 2024 19:30:29 +0100
parents fce639612464
children 48b6a3b1f3f8
comparison
equal deleted inserted replaced
849:fce639612464 850:bc2fcd002fc4
425 #endif 425 #endif
426 default: 426 default:
427 break; 427 break;
428 } 428 }
429 } 429 }
430
431 set_globalState(StMXTRA); /* new map may have impact to top level menu => update */
432 updateMenu();
433 openEdit_O2Sensors(); 430 openEdit_O2Sensors();
434 } 431 }
435 432
436 strSensorId[0] = '\001'; 433 strSensorId[0] = '\001';
437 strSensorId[1] = TXT_o2Sensors; 434 strSensorId[1] = TXT_o2Sensors;