comparison 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
comparison
equal deleted inserted replaced
738:30717de00f3a 739:4a6bffaa38b3
75 /* Exported functions --------------------------------------------------------*/ 75 /* Exported functions --------------------------------------------------------*/
76 76
77 void set_globalState_tHome(void) 77 void set_globalState_tHome(void)
78 { 78 {
79 if(stateUsed->mode == MODE_DIVE) 79 if(stateUsed->mode == MODE_DIVE)
80 {
81 if(settingsGetPointer()->extraDisplay == EXTRADISPLAY_BFACTIVE)
82 {
83 settingsGetPointer()->design = 3;
84 }
80 set_globalState(StD); 85 set_globalState(StD);
86 }
81 else 87 else
82 set_globalState(StS); 88 set_globalState(StS);
83 } 89 }
84 90
85 91
203 #ifdef ENABLE_T3_PROFILE_VIEW 209 #ifdef ENABLE_T3_PROFILE_VIEW
204 case CVIEW_T3_Profile: set_globalState(StDMARK); 210 case CVIEW_T3_Profile: set_globalState(StDMARK);
205 #endif 211 #endif
206 break; 212 break;
207 default: 213 default:
214 set_globalState(StDMENU);
208 break; 215 break;
209 } 216 }
210 break; 217 break;
211 } 218 }
212 219