waf: enable option for setting TAO state

This commit is contained in:
bugobliterator 2022-02-06 18:46:22 +05:30 committed by Andrew Tridgell
parent 8a8de73d89
commit 79f55e7aad
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ class chibios(Board):
if cfg.env.HAL_CANFD_SUPPORTED:
env.DEFINES.update(CANARD_ENABLE_CANFD=1)
else:
env.DEFINES.update(CANARD_ENABLE_CANFD=0)
env.DEFINES.update(CANARD_ENABLE_TAO_OPTION=1)
if cfg.options.Werror or cfg.env.CC_VERSION in gcc_whitelist:
cfg.msg("Enabling -Werror", "yes")