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 --- testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h') diff --git a/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h b/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h index 02dd0b6ea..360aa6965 100644 --- a/testex/STM32/STM32L4xx/SPI-L3GD20/halconf.h +++ b/testex/STM32/STM32L4xx/SPI-L3GD20/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