waf: removed old UAVCAN defines
This commit is contained in:
parent
2d031a4d20
commit
743b1262a0
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user