mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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,
|
default=False,
|
||||||
help="Enable checking of math indexes")
|
help="Enable checking of math indexes")
|
||||||
|
|
||||||
g.add_option('--enable-scripting', action='store_true',
|
g.add_option('--disable-scripting', action='store_true',
|
||||||
default=False,
|
default=False,
|
||||||
help="Enable onboard scripting engine")
|
help="Disable onboard scripting engine")
|
||||||
|
|
||||||
g.add_option('--scripting-checks', action='store_true',
|
g.add_option('--scripting-checks', action='store_true',
|
||||||
default=True,
|
default=True,
|
||||||
@ -428,10 +428,10 @@ def configure(cfg):
|
|||||||
cfg.end_msg('disabled', color='YELLOW')
|
cfg.end_msg('disabled', color='YELLOW')
|
||||||
|
|
||||||
cfg.start_msg('Scripting')
|
cfg.start_msg('Scripting')
|
||||||
if cfg.options.enable_scripting:
|
if cfg.options.disable_scripting:
|
||||||
cfg.end_msg('enabled')
|
|
||||||
else:
|
|
||||||
cfg.end_msg('disabled', color='YELLOW')
|
cfg.end_msg('disabled', color='YELLOW')
|
||||||
|
else:
|
||||||
|
cfg.end_msg('enabled')
|
||||||
|
|
||||||
cfg.start_msg('Scripting runtime checks')
|
cfg.start_msg('Scripting runtime checks')
|
||||||
if cfg.options.scripting_checks:
|
if cfg.options.scripting_checks:
|
||||||
|
Loading…
Reference in New Issue
Block a user