diff Discovery/Src/tMenuCvOption.c @ 1001:21142f4fa968 GasConsumption

Cleanup menu structucture afer menu shift: Compass and timer have been moved to the new menu => some code cleanup was needed.
author Ideenmodellierer
date Mon, 28 Apr 2025 22:53:36 +0200
parents ac25c35a3c97
children 8c0134a287da
line wrap: on
line diff
--- a/Discovery/Src/tMenuCvOption.c	Mon Apr 28 19:51:36 2025 +0200
+++ b/Discovery/Src/tMenuCvOption.c	Mon Apr 28 22:53:36 2025 +0200
@@ -82,13 +82,13 @@
 void tMCvOption_checkLineStatus(void)
 {
 	uint8_t localLineMask = 0;
-	uint8_t lineMask = getLineMask(StMSYS);
-#if 0
+	uint8_t lineMask = getLineMask(StMOption);
+
 	if(t7_customview_disabled(CVIEW_Timer))
     {
     	localLineMask |= 1 << 2;
     }
-#endif
+
 	if(lineMask != localLineMask)
 	{
 		updateMenu();