diff Discovery/Src/tMenuEditPlanner.c @ 760:21949c88da90

Quit simualted dives after the dive time set in the SIM tab.
author heinrichsweikamp
date Tue, 21 Mar 2023 12:56:54 +0100
parents 01f40cb1057e
children dd7ce655db26
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditPlanner.c	Fri Mar 17 09:35:25 2023 +0100
+++ b/Discovery/Src/tMenuEditPlanner.c	Tue Mar 21 12:56:54 2023 +0100
@@ -86,7 +86,7 @@
             settingsGetPointer()->bluetoothActive = 0;
             MX_Bluetooth_PowerOff();
         }
-        simulation_start(tMplan_depth_meter);
+        simulation_start(tMplan_depth_meter, tMplan_dive_time_minutes);
         exitMenuEdit_to_Home();
         break;
     case 2: