# HG changeset patch # User Ideenmodellierer # Date 1714922456 -7200 # Node ID af035b8833827973bb0619b13113d6ef9ca8f07d # Parent 012f94ec2fe027d5c8654f2fda6d763b4e6ffa65 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. diff -r 012f94ec2fe0 -r af035b883382 Discovery/Src/tMenu.c --- a/Discovery/Src/tMenu.c Mon Mar 18 21:52:25 2024 +0100 +++ b/Discovery/Src/tMenu.c Sun May 05 17:20:56 2024 +0200 @@ -598,7 +598,10 @@ if((isLoopMode(pSettings->dive_mode)) || (stateUsed->diveSettings.ccrOption == 1)) { tM_add(StMCG); - tM_add(StMSP); + if((stateUsed->diveSettings.diveMode != DIVEMODE_PSCR) || (actual_menu_content != MENU_SURFACE)) + { + tM_add(StMSP); + } if (actual_menu_content == MENU_SURFACE) /* StMOG is now accessed using StMCG in CCR mode*/ { tM_add(StMXTRA);