diff Discovery/Src/tHome.c @ 739:4a6bffaa38b3

Enable start dive in Big font display: The diver had to manually switch to the big font view in dive mode. By selecting the big font view as default view in the custom menu the BF view will now be shown from the start of the dive. In order to have a qucker access to the settings menu, the settings menu has been added to the quick menu selection. The settings menu will then also be left to the BF view.
author Ideenmodellierer
date Thu, 02 Feb 2023 17:26:54 +0100
parents 980d7f8d5530
children 2c243233c999
line wrap: on
line diff
--- a/Discovery/Src/tHome.c	Thu Feb 02 17:19:24 2023 +0100
+++ b/Discovery/Src/tHome.c	Thu Feb 02 17:26:54 2023 +0100
@@ -77,7 +77,13 @@
 void set_globalState_tHome(void)
 {
     if(stateUsed->mode == MODE_DIVE)
+    {
+    	if(settingsGetPointer()->extraDisplay == EXTRADISPLAY_BFACTIVE)
+    	{
+    		settingsGetPointer()->design = 3;
+    	}
         set_globalState(StD);
+    }
     else
         set_globalState(StS);
 }
@@ -205,6 +211,7 @@
 #endif
             			break;
             		default:
+            			set_globalState(StDMENU);
             			break;
             	}
             	break;