Mercurial > public > ostc4
diff 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 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEdit.c Sun Nov 15 19:54:36 2020 +0100 +++ b/Discovery/Src/tMenuEdit.c Sun Nov 15 19:58:14 2020 +0100 @@ -205,7 +205,8 @@ switch(globState) { - case (StMHARD3_O2_Sensor1 & MaskFieldDigit): refreshFct = refresh_O2Sensors; + case (StMHARD3_O2_Sensor1 & MaskFieldDigit): + case (StMHARD3_O2_Source): refreshFct = refresh_O2Sensors; break; case (StMHARD2_Compass_SetCourse & MaskFieldDigit): refreshFct = refresh_CompassEdit; break;