aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS')
-rwxr-xr-xdemos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
index 06825bf44..20a738ebe 100755
--- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/halconf.h
+++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103-FATFS/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. */
/*===========================================================================*/