From c78662c143424c4f5581b9e641d45ec75f06d704 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Oct 2012 10:56:30 +0000 Subject: Fixed bug 3576193. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4756 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F0xx/ext_lld_isr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal') diff --git a/os/hal/platforms/STM32F0xx/ext_lld_isr.c b/os/hal/platforms/STM32F0xx/ext_lld_isr.c index acfc42024..8b8e81db8 100644 --- a/os/hal/platforms/STM32F0xx/ext_lld_isr.c +++ b/os/hal/platforms/STM32F0xx/ext_lld_isr.c @@ -83,7 +83,7 @@ CH_IRQ_HANDLER(EXTI2_3_IRQHandler) { CH_IRQ_PROLOGUE(); - pr = EXTI->PR & ((2 << 0) | (3 << 1)); + pr = EXTI->PR & ((1 << 2) | (1 << 3)); EXTI->PR = pr; if (pr & (1 << 2)) EXTD1.config->channels[2].cb(&EXTD1, 2); @@ -98,7 +98,7 @@ CH_IRQ_HANDLER(EXTI2_3_IRQHandler) { * * @isr */ -CH_IRQ_HANDLER(EXTI9_5_IRQHandler) { +CH_IRQ_HANDLER(EXTI4_15_IRQHandler) { uint32_t pr; CH_IRQ_PROLOGUE(); -- cgit v1.2.3