Skip to content

Commit

Permalink
mission: fixed connection with multiple serial ports
Browse files Browse the repository at this point in the history
mavproxy.py --console with multiple should not die
  • Loading branch information
tridge committed Aug 21, 2023
1 parent aff5fdd commit 172f3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MAVProxy/modules/lib/mission_item_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def cmd_update(self, args):
self.update_waypoints(args[0], wpnum)

def commands(self):
if not self.master.mavlink20():
if self.master and not self.master.mavlink20():
print("%s module not available; use old compat modules" % str(self.itemtype()))
return
return {
Expand Down

0 comments on commit 172f3ab

Please sign in to comment.