mirror of https://github.com/ArduPilot/ardupilot
Tools: sim_vehicle.py: fix small bug introduced in e298e87
Thanks to @cclauss for finding this
This commit is contained in:
parent
7e1368f7a5
commit
2645760d19
|
@ -672,7 +672,7 @@ if cmd_opts.valgrind and (cmd_opts.gdb or cmd_opts.gdb_stopped):
|
|||
print("May not use valgrind with gdb")
|
||||
sys.exit(1)
|
||||
|
||||
if cmd_opts.valgrind and opts.callgrind:
|
||||
if cmd_opts.valgrind and cmd_opts.callgrind:
|
||||
print("May not use valgrind with callgrind")
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue