Tuan Nguyen 1 год назад
Родитель
Сommit
040c96cb3e
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      app.py

+ 0 - 1
app.py

@@ -709,7 +709,6 @@ def send_coordinate():
 
         # Send the coordinate to the Arduino
         send_coordinate_batch(ser, [(theta, rho)])
-        reset_theta()
         return jsonify({"success": True})
     except Exception as e:
         return jsonify({"success": False, "error": str(e)}), 500