mirror of
https://github.com/meshtastic/python.git
synced 2026-02-16 10:51:22 -05:00
Don't allow --dest with --setlat/lon/alt. Fixes #545
This commit is contained in:
@@ -251,6 +251,9 @@ def onConnected(interface):
|
||||
print("Connected to radio")
|
||||
|
||||
if args.setlat or args.setlon or args.setalt:
|
||||
if args.dest != BROADCAST_ADDR:
|
||||
print("Setting latitude, longitude, and altitude of remote nodes is not supported.")
|
||||
return
|
||||
closeNow = True
|
||||
|
||||
alt = 0
|
||||
|
||||
Reference in New Issue
Block a user