Skip to content

Commit

Permalink
pymavlink: removed "Using mavlink x.x" messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Jun 17, 2016
1 parent 46bf21a commit d1d68a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pymavlink/mavutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,12 @@ def set_dialect(dialect):
global mavlink, current_dialect
from .generator import mavparse
if 'MAVLINK20' in os.environ:
print("Using MAVLink 2.0")
wire_protocol = mavparse.PROTOCOL_2_0
modname = "pymavlink.dialects.v20." + dialect
elif mavlink is None or mavlink.WIRE_PROTOCOL_VERSION == "1.0" or not 'MAVLINK09' in os.environ:
print("Using MAVLink 1.0")
wire_protocol = mavparse.PROTOCOL_1_0
modname = "pymavlink.dialects.v10." + dialect
else:
print("Using MAVLink 0.9")
wire_protocol = mavparse.PROTOCOL_0_9
modname = "pymavlink.dialects.v09." + dialect

Expand Down

0 comments on commit d1d68a2

Please sign in to comment.