comparison Discovery/Src/tMenuEdit.c @ 562:ec76fa85009e

Added ADC sensor interface to O2 sensore menu structure: Based on the availability of an external ADC (Old / new HW) the interface to the O2 sensors may now be choosen between classic optical and the new analog. Depending on the selection HUB Battery or a button for sensor calibration will be shown.
author Ideenmodellierer
date Sun, 15 Nov 2020 19:58:14 +0100
parents 531e7818b737
children 830de438e0b0
comparison
equal deleted inserted replaced
561:e581425c7e3e 562:ec76fa85009e
203 void (*refreshFct)() = NULL; 203 void (*refreshFct)() = NULL;
204 204
205 205
206 switch(globState) 206 switch(globState)
207 { 207 {
208 case (StMHARD3_O2_Sensor1 & MaskFieldDigit): refreshFct = refresh_O2Sensors; 208 case (StMHARD3_O2_Sensor1 & MaskFieldDigit):
209 case (StMHARD3_O2_Source): refreshFct = refresh_O2Sensors;
209 break; 210 break;
210 case (StMHARD2_Compass_SetCourse & MaskFieldDigit): refreshFct = refresh_CompassEdit; 211 case (StMHARD2_Compass_SetCourse & MaskFieldDigit): refreshFct = refresh_CompassEdit;
211 break; 212 break;
212 case (StMXTRA_CompassHeading & MaskFieldDigit): refreshFct = refresh_CompassHeading; 213 case (StMXTRA_CompassHeading & MaskFieldDigit): refreshFct = refresh_CompassHeading;
213 break; 214 break;