# HG changeset patch # User Ideenmodellierer # Date 1704658918 -3600 # Node ID 7e714662b93f10e57d048ef43ad60ab5bf34b7f7 # Parent 061174d88af9448791065e3dae79ab9970bb1c34 Development bugfix CO2 LLC: In the previous version the CO2 LLC (lowerleftcorner) was displayed even if no CO2 sensor was present or active. In the new version it will only be displayed if an sensor is active. diff -r 061174d88af9 -r 7e714662b93f Discovery/Src/t7.c --- a/Discovery/Src/t7.c Sun Jan 07 21:20:15 2024 +0100 +++ b/Discovery/Src/t7.c Sun Jan 07 21:21:58 2024 +0100 @@ -3212,6 +3212,14 @@ selection_custom_field++; } #endif +#ifdef ENABLE_CO2_SUPPORT + if((selection_custom_field == LCC_CO2) && (settingsGetPointer()->co2_sensor_active == 0)) + { + selection_custom_field++; + } + +#endif + if(selection_custom_field >= LLC_END) { selection_custom_field = LLC_Empty;