diff options
Diffstat (limited to 'demos/AVR/RT-ARDUINO-LEONARDO')
-rw-r--r-- | demos/AVR/RT-ARDUINO-LEONARDO/halconf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h b/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h index bbe98ad5c..ae8a2c0ac 100644 --- a/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h +++ b/demos/AVR/RT-ARDUINO-LEONARDO/halconf.h @@ -238,6 +238,13 @@ #define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @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
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
|