From c78662c143424c4f5581b9e641d45ec75f06d704 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 13 Oct 2012 10:56:30 +0000 Subject: [PATCH] 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 ++-- readme.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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(); diff --git a/readme.txt b/readme.txt index 7373cf501..9a6f333a5 100644 --- a/readme.txt +++ b/readme.txt @@ -83,6 +83,7 @@ ***************************************************************************** *** 2.5.1 *** +- FIX: Fixed Typos in STM32F0xx EXT driver (bug 3576193). - FIX: Fixed STM32F10X_CL: Wrong CAN1 interrupt number definitions (bug 3575766). - FIX: Fixed superfluous pack #defines cause nasty warning (bug 3575662)