diff 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
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditHardware.c	Thu Feb 29 18:49:55 2024 +0100
+++ b/Discovery/Src/tMenuEditHardware.c	Fri Mar 01 19:30:29 2024 +0100
@@ -427,9 +427,6 @@
 									break;
 				}
 		}
-
-		set_globalState(StMXTRA); /* new map may have impact to top level menu => update */
-		updateMenu();
 		openEdit_O2Sensors();
 	}