diff --git a/Tools/autotest/pysim/util.py b/Tools/autotest/pysim/util.py index 8dc5be662b..3adb0ded0d 100644 --- a/Tools/autotest/pysim/util.py +++ b/Tools/autotest/pysim/util.py @@ -135,7 +135,7 @@ def start_MAVProxy_SIL(atype, aircraft=None, setup=False, master='tcp:127.0.0.1: options=None, logfile=sys.stdout): '''launch mavproxy connected to a SIL instance''' global close_list - MAVPROXY = os.getenv('MAVPROXY', reltopdir('../MAVProxy/mavproxy.py')) + MAVPROXY = os.getenv('MAVPROXY_CMD', reltopdir('../MAVProxy/mavproxy.py')) cmd = MAVPROXY + ' --master=%s --out=127.0.0.1:14550' % master if setup: cmd += ' --setup'