comparison 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
comparison
equal deleted inserted replaced
1000:c386ae6635e4 1001:21142f4fa968
80 return StMOption; 80 return StMOption;
81 } 81 }
82 void tMCvOption_checkLineStatus(void) 82 void tMCvOption_checkLineStatus(void)
83 { 83 {
84 uint8_t localLineMask = 0; 84 uint8_t localLineMask = 0;
85 uint8_t lineMask = getLineMask(StMSYS); 85 uint8_t lineMask = getLineMask(StMOption);
86 #if 0 86
87 if(t7_customview_disabled(CVIEW_Timer)) 87 if(t7_customview_disabled(CVIEW_Timer))
88 { 88 {
89 localLineMask |= 1 << 2; 89 localLineMask |= 1 << 2;
90 } 90 }
91 #endif 91
92 if(lineMask != localLineMask) 92 if(lineMask != localLineMask)
93 { 93 {
94 updateMenu(); 94 updateMenu();
95 } 95 }
96 } 96 }