comparison Discovery/Src/tMenuEdit.c @ 734:190e5814b2f5

Removed interface selection from sensor menu: By implementing the automatic sensor detection the need for the manual selection has become obsulete. By removing the selection button space became available to insert the sensor information button which shows detailed data of DigO2 sensor.
author Ideenmodellierer
date Sun, 15 Jan 2023 21:51:54 +0100
parents b9f699d2e3d0
children 6169309d6eb9
comparison
equal deleted inserted replaced
733:7b0e020513e3 734:190e5814b2f5
207 switch(globState) 207 switch(globState)
208 { 208 {
209 case (StMHARD3_O2_Sensor1): 209 case (StMHARD3_O2_Sensor1):
210 case (StMHARD3_O2_Sensor1 & MaskFieldDigit): 210 case (StMHARD3_O2_Sensor1 & MaskFieldDigit):
211 case (StMHARD3_O2_Calibrate): 211 case (StMHARD3_O2_Calibrate):
212 case (StMHARD3_O2_Source): refreshFct = refresh_O2Sensors; 212 case (StMHARD3_Sensor_Detect):
213 case (StMHARD3_Sensor_Info): refreshFct = refresh_O2Sensors;
213 break; 214 break;
214 case (StMHARD2_Compass_SetCourse & MaskFieldDigit): refreshFct = refresh_CompassEdit; 215 case (StMHARD2_Compass_SetCourse & MaskFieldDigit): refreshFct = refresh_CompassEdit;
215 break; 216 break;
216 /* case (StMXTRA_CompassHeading & MaskFieldDigit): StMXTRA_CompassHeading and StMXTRA_PSCR_O2_Drop share the same menu ID => select function based on divemode */ 217 /* case (StMXTRA_CompassHeading & MaskFieldDigit): StMXTRA_CompassHeading and StMXTRA_PSCR_O2_Drop share the same menu ID => select function based on divemode */
217 case (StMXTRA_PSCR_O2_Drop & MaskFieldDigit): 218 case (StMXTRA_PSCR_O2_Drop & MaskFieldDigit):