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

This commit is contained in:
Ian McEwen committed 2024-04-21 09:38:32 -07:00
1 parent c710953b85
commit cd1ecab4e0
1 file changed
+3
+3
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