mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: add HAL_CANFD_SUPPORTED define
This commit is contained in:
parent
287151a858
commit
153834465b
|
@ -282,6 +282,10 @@
|
||||||
// plus one static notch with one harmonic
|
// plus one static notch with one harmonic
|
||||||
#define HAL_HNF_MAX_FILTERS 18
|
#define HAL_HNF_MAX_FILTERS 18
|
||||||
#endif
|
#endif
|
||||||
|
#endif // HAL_HNF_MAX_FILTERS
|
||||||
|
|
||||||
|
#ifndef HAL_CANFD_SUPPORTED
|
||||||
|
#define HAL_CANFD_SUPPORTED 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __RAMFUNC__
|
#ifndef __RAMFUNC__
|
||||||
|
|
|
@ -128,3 +128,9 @@
|
||||||
#ifndef HAL_BOARD_STORAGE_DIRECTORY
|
#ifndef HAL_BOARD_STORAGE_DIRECTORY
|
||||||
#define HAL_BOARD_STORAGE_DIRECTORY "/APM"
|
#define HAL_BOARD_STORAGE_DIRECTORY "/APM"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(STM32H7XX) || defined(STM32G4)
|
||||||
|
#define HAL_CANFD_SUPPORTED 1
|
||||||
|
# else
|
||||||
|
#define HAL_CANFD_SUPPORTED 0
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue