mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-25 16:22:05 +08:00
nav: athena destination with name and details (#23155)
old-commit-hash: 4a73445ee5
This commit is contained in:
@@ -183,10 +183,12 @@ def getVersion():
|
||||
|
||||
|
||||
@dispatcher.add_method
|
||||
def setNavDestination(latitude=0, longitude=0):
|
||||
def setNavDestination(latitude=0, longitude=0, place_name=None, place_details=None):
|
||||
destination = {
|
||||
"latitude": latitude,
|
||||
"longitude": longitude,
|
||||
"place_name": place_name,
|
||||
"place_details": place_details,
|
||||
}
|
||||
Params().put("NavDestination", json.dumps(destination))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user