comparison 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
comparison
equal deleted inserted replaced
759:9825dcf50675 760:21949c88da90
84 if(settingsGetPointer()->bluetoothActive != 0) 84 if(settingsGetPointer()->bluetoothActive != 0)
85 { 85 {
86 settingsGetPointer()->bluetoothActive = 0; 86 settingsGetPointer()->bluetoothActive = 0;
87 MX_Bluetooth_PowerOff(); 87 MX_Bluetooth_PowerOff();
88 } 88 }
89 simulation_start(tMplan_depth_meter); 89 simulation_start(tMplan_depth_meter, tMplan_dive_time_minutes);
90 exitMenuEdit_to_Home(); 90 exitMenuEdit_to_Home();
91 break; 91 break;
92 case 2: 92 case 2:
93 openEdit_PlanInterval(); 93 openEdit_PlanInterval();
94 break; 94 break;