mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: don't imply no watchdog with --debug
this broke AP_Periph with --debug. Better to use --disable-watchdog if needed
This commit is contained in:
parent
93fb14f3be
commit
15ca52d890
@ -1054,7 +1054,7 @@ class chibios(Board):
|
||||
if cfg.env.SAVE_TEMPS:
|
||||
env.CXXFLAGS += [ '-S', '-save-temps=obj' ]
|
||||
|
||||
if cfg.options.disable_watchdog or cfg.env.DEBUG:
|
||||
if cfg.options.disable_watchdog:
|
||||
cfg.msg("Disabling Watchdog", "yes")
|
||||
env.CFLAGS += [ '-DDISABLE_WATCHDOG' ]
|
||||
env.CXXFLAGS += [ '-DDISABLE_WATCHDOG' ]
|
||||
|
Loading…
Reference in New Issue
Block a user