Browse Source

HAL_ChibiOS: enable CAN callbacks

this allows for much more reliable CAN comms in AP_Periph
zr-v5.1
Andrew Tridgell 5 years ago
parent
commit
a90a2e20dc
  1. 2
      libraries/AP_HAL_ChibiOS/hwdef/common/halconf.h

2
libraries/AP_HAL_ChibiOS/hwdef/common/halconf.h

@ -263,7 +263,7 @@ @@ -263,7 +263,7 @@
* @brief Enforces the driver to use direct callbacks rather than OSAL events.
*/
#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
#define CAN_ENFORCE_USE_CALLBACKS FALSE
#define CAN_ENFORCE_USE_CALLBACKS TRUE
#endif
/*===========================================================================*/

Loading…
Cancel
Save