mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
waf: enable CANARD asserts in SITL
This commit is contained in:
parent
3629037177
commit
029070cb23
@ -649,7 +649,8 @@ class sitl(Board):
|
|||||||
cfg.define('HAL_NUM_CAN_IFACES', 2)
|
cfg.define('HAL_NUM_CAN_IFACES', 2)
|
||||||
env.DEFINES.update(CANARD_MULTI_IFACE=1,
|
env.DEFINES.update(CANARD_MULTI_IFACE=1,
|
||||||
CANARD_IFACE_ALL = 0x3,
|
CANARD_IFACE_ALL = 0x3,
|
||||||
CANARD_ENABLE_CANFD = 1)
|
CANARD_ENABLE_CANFD = 1,
|
||||||
|
CANARD_ENABLE_ASSERTS = 1)
|
||||||
|
|
||||||
env.CXXFLAGS += [
|
env.CXXFLAGS += [
|
||||||
'-Werror=float-equal',
|
'-Werror=float-equal',
|
||||||
|
Loading…
Reference in New Issue
Block a user