diff Discovery/Src/data_central.c @ 841:70092f552f5a Evo_2_23

Added autofocus for T3_DecoTTS view: a switch to the DecoTTS view will now be triggered in case a new deco stop depth is added, a deco stopp has been missed or if a new 10 minutes TTS is passed.
author Ideenmodellierer
date Sun, 07 Jan 2024 21:25:34 +0100
parents aed39d19269c
children db92692c014f
line wrap: on
line diff
--- a/Discovery/Src/data_central.c	Sun Jan 07 21:21:58 2024 +0100
+++ b/Discovery/Src/data_central.c	Sun Jan 07 21:25:34 2024 +0100
@@ -387,6 +387,10 @@
 	{
 		stateReal.diveSettings.activeAFViews |= (1 << CVIEW_T3_GasList);
 	}
+	if(t3_customview_disabled(CVIEW_T3_DecoTTS) == 0)
+	{
+		stateReal.diveSettings.activeAFViews |= (1 << CVIEW_T3_DecoTTS);
+	}
 }