aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F1xx/SPI
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F1xx/SPI')
-rw-r--r--testhal/STM32/STM32F1xx/SPI/halconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/SPI/halconf.h b/testhal/STM32/STM32F1xx/SPI/halconf.h
index b997ebf5d..48608a2f1 100644
--- a/testhal/STM32/STM32F1xx/SPI/halconf.h
+++ b/testhal/STM32/STM32F1xx/SPI/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. */
/*===========================================================================*/