# HG changeset patch # User heinrichsweikamp # Date 1648656021 -7200 # Node ID d7c5d592076be21c5f48fba4276e656a0f0566bb # Parent 12d029f3843022219c99c5ab7117810a002a65e8 Show 98% in case of Oxygen as the calibrating gas See #define O2_CALIB_FRACTION_O2 (0.98F) diff -r 12d029f38430 -r d7c5d592076b Discovery/Inc/configuration.h --- a/Discovery/Inc/configuration.h Sat Mar 12 14:57:54 2022 +0100 +++ b/Discovery/Inc/configuration.h Wed Mar 30 18:00:21 2022 +0200 @@ -24,7 +24,6 @@ /// along with this program. If not, see . ////////////////////////////////////////////////////////////////////////////// - #ifndef CONFIGURATION_HEADER #define CONFIGURATION_HEADER @@ -50,24 +49,24 @@ /* #define HAVE_DEBUG_VIEW */ /* Enable to have access to the motion control selection menu */ -/* #define ENABLE_MOTION_CONTROL */ +#define ENABLE_MOTION_CONTROL /* Enable to have option to hide not needed gases from dive views */ /* #define ENABLE_UNUSED_GAS_HIDING */ /* Enable to have the new T3 profile view available */ -/* #define ENABLE_T3_PROFILE_VIEW */ +#define ENABLE_T3_PROFILE_VIEW /* Enable to have PPO2 adjustments in T3 sensor view during dive simulation */ /* #define ENABLE_T3_PPO_SIM */ /* Enable to have PSCR functionality available */ -/* #define ENABLE_PSCR_MODE */ +#define ENABLE_PSCR_MODE /* Enable to have CO2 sensor functionality available */ /* #define ENABLE_CO2_SUPPORT */ /* Enable if you are using sensors with a voltage range 8..16 mV at surface / air level */ -/* #define ENABLE_ALTERNATIVE_SENSORTYP */ +#define ENABLE_ALTERNATIVE_SENSORTYP #endif diff -r 12d029f38430 -r d7c5d592076b Discovery/Src/tMenuEditHardware.c --- 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 {