@@ -488,7 +488,12 @@ def run_theta_rho():
@app.route('/stop_execution', methods=['POST'])
def stop_execution():
- global stop_requested
+ global pause_requested
+ with pause_condition:
+ pause_requested = False
+ pause_condition.notify_all()
+
+ global stop_requested, current_playing_index, current_playlist, is_clearing, current_playing_file, execution_progress
stop_requested = True
current_playing_index = None
current_playlist = None
@@ -70,7 +70,7 @@ void setup()
Serial.begin(115200);
Serial.println("Table: Dune Weaver");
Serial.println("Drivers: DRV8825");
- Serial.println("Version: 1.4.0";)
+ Serial.println("Version: 1.4.0");
Serial.println("R");
homing();
}
Serial.println("Drivers: TMC2209");
@@ -65,7 +65,7 @@ void setup()
Serial.println("Table: Mini Dune Weaver");
Serial.println("Drivers: ULN2003");