Skip to content

Commit

Permalink
cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Jun 12, 2024
1 parent c4f1324 commit b0678a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web_app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,8 +624,8 @@ def detect_receiver(json_msg):
socketio.emit("gnss_detection_result", json.dumps(result), namespace="/test")

@socketio.on("configure_receiver", namespace="/test")
def configure_receiver(brand="u-blox", model="F9P"):
# only ZED-F9P could be configured automaticaly
def configure_receiver(brand="", model=""):
# only some receiver could be configured automaticaly
# After port detection, the main service will be restarted, and it will take some time. But we have to stop it to
# configure the receiver. We wait 2 seconds before stopping it to remove conflicting calls.
time.sleep(4)
Expand Down

0 comments on commit b0678a0

Please sign in to comment.