comparison Discovery/Src/tMenu.c @ 856:af035b883382 Evo_2_23

Do not show SP tab if PSCR mode is active: In the previous version the setpoint tab was shown even if operation mode PSCR was selected. SPs do not matter for PSCR operation and will not be shown in the new version.
author Ideenmodellierer
date Sun, 05 May 2024 17:20:56 +0200
parents 9f487ad38170
children
comparison
equal deleted inserted replaced
855:012f94ec2fe0 856:af035b883382
596 // } 596 // }
597 597
598 if((isLoopMode(pSettings->dive_mode)) || (stateUsed->diveSettings.ccrOption == 1)) 598 if((isLoopMode(pSettings->dive_mode)) || (stateUsed->diveSettings.ccrOption == 1))
599 { 599 {
600 tM_add(StMCG); 600 tM_add(StMCG);
601 tM_add(StMSP); 601 if((stateUsed->diveSettings.diveMode != DIVEMODE_PSCR) || (actual_menu_content != MENU_SURFACE))
602 {
603 tM_add(StMSP);
604 }
602 if (actual_menu_content == MENU_SURFACE) /* StMOG is now accessed using StMCG in CCR mode*/ 605 if (actual_menu_content == MENU_SURFACE) /* StMOG is now accessed using StMCG in CCR mode*/
603 { 606 {
604 tM_add(StMXTRA); 607 tM_add(StMXTRA);
605 tM_addShadow(StMOG); 608 tM_addShadow(StMOG);
606 } 609 }