File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919from pymavlink .generator .mavcrc import x25crc as x25crc
2020
2121# adding these extra imports allows pymavlink to be used directly with pyinstaller
22- # without having complex spec files. To allow for installs that don't have ardupilotmega
22+ # without having complex spec files. To allow for installs that don't have the "all" dialect
2323# at all we avoid throwing an exception if it isn't installed
2424try :
25- from pymavlink .dialects .v10 import ardupilotmega
25+ from pymavlink .dialects .v10 import all
2626except Exception :
2727 pass
2828
4545
4646# Use a globally-set MAVLink dialect if one has been specified as an environment variable.
4747if not 'MAVLINK_DIALECT' in os .environ :
48- os .environ ['MAVLINK_DIALECT' ] = 'ardupilotmega '
48+ os .environ ['MAVLINK_DIALECT' ] = 'all '
4949
5050def mavlink10 ():
5151 '''return True if using MAVLink 1.0 or later'''
You can’t perform that action at this time.
0 commit comments