mirror of https://github.com/ArduPilot/ardupilot
wscript: Swap enable-sciprint to be disable
This commit is contained in:
parent
a34ac14ec5
commit
4a4a91c662
10
wscript
10
wscript
|
@ -131,9 +131,9 @@ submodules at specific revisions.
|
|||
default=False,
|
||||
help="Enable checking of math indexes")
|
||||
|
||||
g.add_option('--enable-scripting', action='store_true',
|
||||
g.add_option('--disable-scripting', action='store_true',
|
||||
default=False,
|
||||
help="Enable onboard scripting engine")
|
||||
help="Disable onboard scripting engine")
|
||||
|
||||
g.add_option('--scripting-checks', action='store_true',
|
||||
default=True,
|
||||
|
@ -428,10 +428,10 @@ def configure(cfg):
|
|||
cfg.end_msg('disabled', color='YELLOW')
|
||||
|
||||
cfg.start_msg('Scripting')
|
||||
if cfg.options.enable_scripting:
|
||||
cfg.end_msg('enabled')
|
||||
else:
|
||||
if cfg.options.disable_scripting:
|
||||
cfg.end_msg('disabled', color='YELLOW')
|
||||
else:
|
||||
cfg.end_msg('enabled')
|
||||
|
||||
cfg.start_msg('Scripting runtime checks')
|
||||
if cfg.options.scripting_checks:
|
||||
|
|
Loading…
Reference in New Issue