diff Discovery/Src/t7.c @ 743:6871d4b586ff

Enable start dive in Big font display: The screen selection is historically done in the T7 refresh cycle in case a switch to dive mode is recognised. Added a switch condition to allow direct start in large font display mode.
author Ideenmodellierer
date Sun, 19 Feb 2023 21:48:47 +0100
parents 5078da3845c0
children be25ab2d902c
line wrap: on
line diff
--- a/Discovery/Src/t7.c	Sun Feb 19 21:43:24 2023 +0100
+++ b/Discovery/Src/t7.c	Sun Feb 19 21:48:47 2023 +0100
@@ -593,6 +593,15 @@
             {
             	InitMotionDetection();
             }
+
+            if(settingsGetPointer()->extraDisplay == EXTRADISPLAY_BFACTIVE)
+            {
+                settingsGetPointer()->design = 3;
+                releaseAllFramesExcept(22,t7screen.FBStartAdress);
+                releaseFrame(22,t7screen.FBStartAdress);
+                set_globalState(StD);
+                return;
+            }
         }
 
         if(status.page == PageSurface)