mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: enable CAN callbacks
this allows for much more reliable CAN comms in AP_Periph
This commit is contained in:
parent
ffd838d908
commit
a90a2e20dc
|
@ -263,7 +263,7 @@
|
||||||
* @brief Enforces the driver to use direct callbacks rather than OSAL events.
|
* @brief Enforces the driver to use direct callbacks rather than OSAL events.
|
||||||
*/
|
*/
|
||||||
#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
|
#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
|
||||||
#define CAN_ENFORCE_USE_CALLBACKS FALSE
|
#define CAN_ENFORCE_USE_CALLBACKS TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue