waf: removed old UAVCAN defines

This commit is contained in:
Andrew Tridgell 2024-01-24 11:05:24 +11:00
parent 2d031a4d20
commit 743b1262a0
1 changed files with 0 additions and 10 deletions

View File

@ -461,11 +461,6 @@ def setup_canmgr_build(cfg):
'CANARD_ALLOCATE_SEM=1'
]
if cfg.env.HAL_CANFD_SUPPORTED:
env.DEFINES += ['UAVCAN_SUPPORT_CANFD=1']
else:
env.DEFINES += ['UAVCAN_SUPPORT_CANFD=0']
cfg.get_board().with_can = True
def setup_canperiph_build(cfg):
@ -475,11 +470,6 @@ def setup_canperiph_build(cfg):
'CANARD_ENABLE_DEADLINE=1',
]
if cfg.env.HAL_CANFD_SUPPORTED:
env.DEFINES += ['UAVCAN_SUPPORT_CANFD=1']
else:
env.DEFINES += ['UAVCAN_SUPPORT_CANFD=0']
cfg.get_board().with_can = True
def load_env_vars(env):