mirror of https://github.com/ArduPilot/ardupilot
Use MAVPROXY_CMD instead of MAVPROXY
This commit is contained in:
parent
da2f3d7f6d
commit
a36a9e86b9
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue