comparison Discovery/Src/data_central.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 2a8af51ab04d
children 70092f552f5a
comparison
equal deleted inserted replaced
837:18946846b95b 838:aed39d19269c
380 /* generate Bitfield of active T3 views */ 380 /* generate Bitfield of active T3 views */
381 stateReal.diveSettings.activeAFViews = 0; 381 stateReal.diveSettings.activeAFViews = 0;
382 if(t3_customview_disabled(CVIEW_T3_Navigation) == 0) 382 if(t3_customview_disabled(CVIEW_T3_Navigation) == 0)
383 { 383 {
384 stateReal.diveSettings.activeAFViews |= (1 << CVIEW_T3_Navigation); 384 stateReal.diveSettings.activeAFViews |= (1 << CVIEW_T3_Navigation);
385 }
386 if(t3_customview_disabled(CVIEW_T3_GasList) == 0)
387 {
388 stateReal.diveSettings.activeAFViews |= (1 << CVIEW_T3_GasList);
385 } 389 }
386 } 390 }
387 391
388 392
389 void copyDiveSettingsToSim(void) 393 void copyDiveSettingsToSim(void)