From 5806f29b87e6d94957c907de200e6cdbe49aea78 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 17 Mar 2018 09:03:27 +0000 Subject: New halconf.h template. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11788 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h') diff --git a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h b/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/demos/STM32/RT-STM32F103-MAPLEMINI/halconf.h +++ b/demos/STM32/RT-STM32F103-MAPLEMINI/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. */ /*===========================================================================*/ -- cgit v1.2.3