changeset 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 e23fe82cbf8c
children dd5db6e2c9a4
files Discovery/Src/t7.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
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)