Browse Source

AP_HAL: add support for CANFD in SITL

apm_2208
bugobliterator 3 years ago committed by Tom Pittenger
parent
commit
7d2ded8de1
  1. 4
      libraries/AP_HAL/AP_HAL_Boards.h

4
libraries/AP_HAL/AP_HAL_Boards.h

@ -284,7 +284,9 @@ @@ -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…
Cancel
Save