diff 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
line wrap: on
line diff
--- a/Discovery/Src/data_central.c	Wed Dec 27 19:37:17 2023 +0100
+++ b/Discovery/Src/data_central.c	Fri Jan 05 16:01:22 2024 +0100
@@ -383,6 +383,10 @@
 	{
 		stateReal.diveSettings.activeAFViews |= (1 << CVIEW_T3_Navigation);
 	}
+	if(t3_customview_disabled(CVIEW_T3_GasList) == 0)
+	{
+		stateReal.diveSettings.activeAFViews |= (1 << CVIEW_T3_GasList);
+	}
 }