From 076d1616ba76163b24b5defc61eac3150a1fbab7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Jun 2012 13:19:21 +1000 Subject: [PATCH] autotest: default to mavlink10 --- Tools/autotest/autotest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/autotest.py b/Tools/autotest/autotest.py index b63df769b3..2da7d3fce1 100755 --- a/Tools/autotest/autotest.py +++ b/Tools/autotest/autotest.py @@ -103,11 +103,11 @@ parser.add_option("--skip", type='string', default='', help='list of steps to sk parser.add_option("--list", action='store_true', default=False, help='list the available steps') parser.add_option("--viewerip", default=None, help='IP address to send MAVLink and fg packets to') parser.add_option("--experimental", default=False, action='store_true', help='enable experimental tests') -parser.add_option("--mav10", action='store_true', default=False, help="Use MAVLink protocol 1.0") +parser.add_option("--mav09", action='store_true', default=False, help="Use MAVLink protocol 0.9") opts, args = parser.parse_args() -if opts.mav10 or os.getenv('MAVLINK10'): +if not opts.mav09: os.environ['MAVLINK10'] = '1' import mavlinkv10 as mavlink else: