mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-05 16:26:06 +08:00
navstate
This commit is contained in:
@@ -3543,6 +3543,8 @@ def setup(app):
|
||||
@app.route("/api/navigation", methods=["DELETE"])
|
||||
def clear_navigation():
|
||||
params.remove("NavDestination")
|
||||
params_memory.remove("NavInstructionState")
|
||||
params_memory.remove("NavInstructionCollapsed")
|
||||
return {"message": "Destination cleared"}
|
||||
|
||||
@app.route("/api/navigation", methods=["GET"])
|
||||
|
||||
Reference in New Issue
Block a user