aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F30x
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-12 10:37:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-03-12 10:37:41 +0000
commit2e1184107a009d3f600c0370f6cdb35e55786872 (patch)
tree6c78d2a2ec455d594fe2ea559ebbfc0b0e52a0b0 /os/hal/platforms/STM32F30x
parent0b8d0695f4c6524220cb5e7f7a9d00e046c5fb56 (diff)
downloadChibiOS-2e1184107a009d3f600c0370f6cdb35e55786872.tar.gz
ChibiOS-2e1184107a009d3f600c0370f6cdb35e55786872.tar.bz2
ChibiOS-2e1184107a009d3f600c0370f6cdb35e55786872.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5415 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F30x')
-rw-r--r--os/hal/platforms/STM32F30x/ext_lld_isr.c6
-rw-r--r--os/hal/platforms/STM32F30x/ext_lld_isr.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32F30x/ext_lld_isr.c b/os/hal/platforms/STM32F30x/ext_lld_isr.c
index 4603a0f81..4a3dece90 100644
--- a/os/hal/platforms/STM32F30x/ext_lld_isr.c
+++ b/os/hal/platforms/STM32F30x/ext_lld_isr.c
@@ -282,9 +282,9 @@ CH_IRQ_HANDLER(Vector4C) {
}
#endif
-#if !defined(STM32_DISABLE_EXTI21_23_HANDLER)
+#if !defined(STM32_DISABLE_EXTI21_22_29_HANDLER)
/**
- * @brief EXTI[21]...EXTI[23] interrupt handler (COMP1, COMP2, COMP3).
+ * @brief EXTI[21],EXTI[22],EXTI[29] interrupt handler (COMP1, COMP2, COMP3).
*
* @isr
*/
@@ -386,7 +386,7 @@ void ext_lld_exti_irq_enable(void) {
nvicEnableVector(RTC_WKUP_IRQn,
CORTEX_PRIORITY_MASK(STM32_EXT_EXTI20_IRQ_PRIORITY));
nvicEnableVector(COMP1_2_3_IRQn,
- CORTEX_PRIORITY_MASK(STM32_EXT_EXTI21_23_IRQ_PRIORITY));
+ CORTEX_PRIORITY_MASK(STM32_EXT_EXTI21_22_29_IRQ_PRIORITY));
nvicEnableVector(COMP4_5_6_IRQn,
CORTEX_PRIORITY_MASK(STM32_EXT_EXTI30_32_IRQ_PRIORITY));
nvicEnableVector(COMP7_IRQn,
diff --git a/os/hal/platforms/STM32F30x/ext_lld_isr.h b/os/hal/platforms/STM32F30x/ext_lld_isr.h
index 1ca3be565..b070a1411 100644
--- a/os/hal/platforms/STM32F30x/ext_lld_isr.h
+++ b/os/hal/platforms/STM32F30x/ext_lld_isr.h
@@ -128,10 +128,10 @@
#endif
/**
- * @brief EXTI21..23 interrupt priority level setting.
+ * @brief EXTI21,22,29 interrupt priority level setting.
*/
-#if !defined(STM32_EXT_EXTI21_23_IRQ_PRIORITY) || defined(__DOXYGEN__)
-#define STM32_EXT_EXTI21_23_IRQ_PRIORITY 6
+#if !defined(STM32_EXT_EXTI21_22_29_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#define STM32_EXT_EXTI21_22_29_IRQ_PRIORITY 6
#endif
/**