Don't allow --dest with --setlat/lon/alt. Fixes #545

This commit is contained in:
Ian McEwen
2024-04-21 09:38:32 -07:00
parent c710953b85
commit cd1ecab4e0

View File

@@ -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