Mercurial > public > ostc4
comparison Discovery/Src/t7.c @ 840:7e714662b93f Evo_2_23
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.
author | Ideenmodellierer |
---|---|
date | Sun, 07 Jan 2024 21:21:58 +0100 |
parents | 18946846b95b |
children | ba1aebc6d5af |
comparison
equal
deleted
inserted
replaced
839:061174d88af9 | 840:7e714662b93f |
---|---|
3210 if((selection_custom_field == LCC_SimPpo2) && (settingsGetPointer()->dive_mode != DIVEMODE_PSCR)) | 3210 if((selection_custom_field == LCC_SimPpo2) && (settingsGetPointer()->dive_mode != DIVEMODE_PSCR)) |
3211 { | 3211 { |
3212 selection_custom_field++; | 3212 selection_custom_field++; |
3213 } | 3213 } |
3214 #endif | 3214 #endif |
3215 #ifdef ENABLE_CO2_SUPPORT | |
3216 if((selection_custom_field == LCC_CO2) && (settingsGetPointer()->co2_sensor_active == 0)) | |
3217 { | |
3218 selection_custom_field++; | |
3219 } | |
3220 | |
3221 #endif | |
3222 | |
3215 if(selection_custom_field >= LLC_END) | 3223 if(selection_custom_field >= LLC_END) |
3216 { | 3224 { |
3217 selection_custom_field = LLC_Empty; | 3225 selection_custom_field = LLC_Empty; |
3218 } | 3226 } |
3219 } | 3227 } |