diff options
Diffstat (limited to 'testex/STM32/STM32F4xx/SPI-LIS3DSH')
-rw-r--r-- | testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h b/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h index cdc8b557c..81332c348 100644 --- a/testex/STM32/STM32F4xx/SPI-LIS3DSH/halconf.h +++ b/testex/STM32/STM32F4xx/SPI-LIS3DSH/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. */
/*===========================================================================*/
|