mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
AP_HAL: add support for CANFD in SITL
This commit is contained in:
parent
df95b1ee13
commit
7d2ded8de1
@ -284,7 +284,9 @@
|
||||
#endif
|
||||
#endif // HAL_HNF_MAX_FILTERS
|
||||
|
||||
#ifndef HAL_CANFD_SUPPORTED
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL // allow SITL to have all the CANFD options
|
||||
#define HAL_CANFD_SUPPORTED 8
|
||||
#elif !defined(HAL_CANFD_SUPPORTED)
|
||||
#define HAL_CANFD_SUPPORTED 0
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user