Mercurial > public > ostc4
diff Discovery/Src/tMenuEditHardware.c @ 673:d7c5d592076b Betatest
Show 98% in case of Oxygen as the calibrating gas
See #define O2_CALIB_FRACTION_O2 (0.98F)
author | heinrichsweikamp |
---|---|
date | Wed, 30 Mar 2022 18:00:21 +0200 |
parents | 1f665e31aca2 |
children | 4dd487b407f7 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditHardware.c Sat Mar 12 14:57:54 2022 +0100 +++ b/Discovery/Src/tMenuEditHardware.c Wed Mar 30 18:00:21 2022 +0200 @@ -383,7 +383,7 @@ write_label_fix( 30, 800, ME_Y_LINE4, &FontT48, TXT2BYTE_O2Calib); write_label_var( 400, 800, ME_Y_LINE4, &FontT48, "\016\016 %\017"); - write_field_toggle(StMHARD3_O2_Calibrate, 400, 800, ME_Y_LINE4, &FontT48, "", 21, 100); + write_field_toggle(StMHARD3_O2_Calibrate, 400, 800, ME_Y_LINE4, &FontT48, "", 21, 98); } text[0] = TXT_Fallback; @@ -517,7 +517,7 @@ { if(O2_calib_gas == 21) { - O2_calib_gas = 100; + O2_calib_gas = 98; } else {