Mercurial > public > ostc4
comparison Discovery/Src/tHome.c @ 838:aed39d19269c Evo_2_23
Added T3 autofocus for Gas list:
An automatic switch to the gaslist will now happen in case a better gas is available or in case the current gas is not breathable (ppo2 HIGH/LOW). From the gaslist view a new gas may be selected view quickmenu or switching to the common gas selection tab.
| author | Ideenmodellierer |
|---|---|
| date | Fri, 05 Jan 2024 16:01:22 +0100 |
| parents | 8d6c35655d4d |
| children | 5b913cdaa9dc |
comparison
equal
deleted
inserted
replaced
| 837:18946846b95b | 838:aed39d19269c |
|---|---|
| 231 break; | 231 break; |
| 232 case CVIEW_T3_GasList: if(stateUsed->warnings.betterGas) | 232 case CVIEW_T3_GasList: if(stateUsed->warnings.betterGas) |
| 233 { | 233 { |
| 234 set_globalState(StDMGAS); | 234 set_globalState(StDMGAS); |
| 235 } | 235 } |
| 236 else | |
| 237 { | |
| 238 set_globalState(StDMENU); | |
| 239 } | |
| 236 break; | 240 break; |
| 237 #ifdef ENABLE_T3_PPO_SIM | 241 #ifdef ENABLE_T3_PPO_SIM |
| 238 case CVIEW_sensors: if(is_stateUsedSetToSim()) | 242 case CVIEW_sensors: if(is_stateUsedSetToSim()) |
| 239 { | 243 { |
| 240 set_globalState(StDSIM1); | 244 set_globalState(StDSIM1); |
