diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-11-09 12:20:06 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-11-09 12:20:06 +0000 |
commit | bd22f7167292826f39707f10ddd620fc246cd20c (patch) | |
tree | 96b3755467c316a679cc60e508e3fe5efeceda4a /os/hal/ports/STM32/LLD/TIMv1 | |
parent | 9d6eb6ebf4f7fa9aeac7070fd2a8401bf350af38 (diff) | |
download | ChibiOS-bd22f7167292826f39707f10ddd620fc246cd20c.tar.gz ChibiOS-bd22f7167292826f39707f10ddd620fc246cd20c.tar.bz2 ChibiOS-bd22f7167292826f39707f10ddd620fc246cd20c.zip |
Fixed some regressions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12413 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32/LLD/TIMv1')
-rw-r--r-- | os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h index add2a4d8a..1bc048c19 100644 --- a/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h +++ b/os/hal/ports/STM32/LLD/TIMv1/hal_gpt_lld.h @@ -150,6 +150,24 @@ #endif
/**
+ * @brief GPTD21 driver enable switch.
+ * @details If set to @p TRUE the support for GPTD21 is included.
+ * @note The default is @p TRUE.
+ */
+#if !defined(STM32_GPT_USE_TIM21) || defined(__DOXYGEN__)
+#define STM32_GPT_USE_TIM21 FALSE
+#endif
+
+/**
+ * @brief GPTD22 driver enable switch.
+ * @details If set to @p TRUE the support for GPTD22 is included.
+ * @note The default is @p TRUE.
+ */
+#if !defined(STM32_GPT_USE_TIM22) || defined(__DOXYGEN__)
+#define STM32_GPT_USE_TIM22 FALSE
+#endif
+
+/**
* @brief GPTD1 interrupt priority level setting.
*/
#if !defined(STM32_GPT_TIM1_IRQ_PRIORITY) || defined(__DOXYGEN__)
|