comparison Discovery/Src/tMenuEditCustom.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 5071d554aaa5
children 6bd21ebe1a93
comparison
equal deleted inserted replaced
738:30717de00f3a 739:4a6bffaa38b3
388 { 388 {
389 uint8_t newValue = 0; 389 uint8_t newValue = 0;
390 SSettings *pSettings = settingsGetPointer(); 390 SSettings *pSettings = settingsGetPointer();
391 391
392 newValue = pSettings->extraDisplay + 1; 392 newValue = pSettings->extraDisplay + 1;
393 if(newValue == EXTRADISPLAY_DECOGAME) /* Decogame not yet implemented */ 393
394 {
395 newValue++;
396 }
397 if(newValue >= EXTRADISPLAY_END) 394 if(newValue >= EXTRADISPLAY_END)
398 { 395 {
399 newValue = EXTRADISPLAY_none; 396 newValue = EXTRADISPLAY_none;
400 } 397 }
401 pSettings->extraDisplay = newValue; 398 pSettings->extraDisplay = newValue;
958 uint8_t OnAction_ExtraDisplay (uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 955 uint8_t OnAction_ExtraDisplay (uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
959 { 956 {
960 uint8_t newValue; 957 uint8_t newValue;
961 958
962 newValue = settingsGetPointer()->extraDisplay + 1; 959 newValue = settingsGetPointer()->extraDisplay + 1;
963 if(newValue == EXTRADISPLAY_DECOGAME) /* Decogame not yet implemented */ 960
964 {
965 newValue++;
966 }
967 if(newValue >= EXTRADISPLAY_END) 961 if(newValue >= EXTRADISPLAY_END)
968 { 962 {
969 newValue = EXTRADISPLAY_none; 963 newValue = EXTRADISPLAY_none;
970 } 964 }
971 settingsGetPointer()->extraDisplay = newValue; 965 settingsGetPointer()->extraDisplay = newValue;