# HG changeset patch # User Ideenmodellierer # Date 1690487539 -7200 # Node ID 9da81033ad449bdfb1baa0a830cd39e5ff568477 # Parent 25103f5c7e29163caa7a3686093384ae42f96854 Bugfix PSCR Settings in Simulator Mode: The dive settings structure is not filled at the start of a simulated dive. As result changes in the PSCR parameters were used by the simulator unless the OSTC was restarted. To solve this problem the update of the dive settings have to be triggered after a parameter had been changed. diff -r 25103f5c7e29 -r 9da81033ad44 Discovery/Src/tMenuEditXtra.c --- a/Discovery/Src/tMenuEditXtra.c Sat Aug 05 11:52:08 2023 +0200 +++ b/Discovery/Src/tMenuEditXtra.c Thu Jul 27 21:52:19 2023 +0200 @@ -624,7 +624,7 @@ pSettings->pscr_o2_drop = newO2Drop; tMenuEdit_newInput(editId, newO2Drop, 0, 0, 0); - digitContentNew = UNSPECIFIC_RETURN; + digitContentNew = UPDATE_DIVESETTINGS; } if(action == ACTION_BUTTON_NEXT) { @@ -665,7 +665,7 @@ pSettings->pscr_lung_ratio = newLungRatio; tMenuEdit_newInput(editId, newLungRatio, 0, 0, 0); - digitContentNew = UNSPECIFIC_RETURN; + digitContentNew = UPDATE_DIVESETTINGS; } if(action == ACTION_BUTTON_NEXT) {