diff options
author | Romain Reignier <rom.reignier@gmail.com> | 2018-03-12 21:18:36 +0100 |
---|---|---|
committer | Romain Reignier <rom.reignier@gmail.com> | 2018-03-12 21:20:46 +0100 |
commit | 6c3554ef8152e48e9ef668cfa321f7c7e01f5361 (patch) | |
tree | 94ad8aa3db171599f77c7b1369cd47edf005e727 /testhal/STM32/STM32F1xx | |
parent | 6ca20973e2889ce228b41c47231a5339d8e95970 (diff) | |
download | ChibiOS-Contrib-6c3554ef8152e48e9ef668cfa321f7c7e01f5361.tar.gz ChibiOS-Contrib-6c3554ef8152e48e9ef668cfa321f7c7e01f5361.tar.bz2 ChibiOS-Contrib-6c3554ef8152e48e9ef668cfa321f7c7e01f5361.zip |
testhal: stm32: update to latest ChibiOS API
Diffstat (limited to 'testhal/STM32/STM32F1xx')
-rw-r--r-- | testhal/STM32/STM32F1xx/qei/halconf_community.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/qei/halconf_community.h b/testhal/STM32/STM32F1xx/qei/halconf_community.h index 9c28ead..95f1ee6 100644 --- a/testhal/STM32/STM32F1xx/qei/halconf_community.h +++ b/testhal/STM32/STM32F1xx/qei/halconf_community.h @@ -100,6 +100,24 @@ */
#define ONEWIRE_USE_SEARCH_ROM FALSE
+/*===========================================================================*/
+/* QEI driver related settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Enables discard of overlow
+ */
+#if !defined(QEI_USE_OVERFLOW_DISCARD) || defined(__DOXYGEN__)
+#define QEI_USE_OVERFLOW_DISCARD FALSE
+#endif
+
+/**
+ * @brief Enables min max of overlow
+ */
+#if !defined(QEI_USE_OVERFLOW_MINMAX) || defined(__DOXYGEN__)
+#define QEI_USE_OVERFLOW_MINMAX FALSE
+#endif
+
#endif /* HALCONF_COMMUNITY_H */
/** @} */
|