From 20d62655182b5528ec41b6c6aa9c41a4d32be1a7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 21 Jun 2012 17:14:16 +0000 Subject: [PATCH] Fixed bug 3536950. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.4.x@4317 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/icu_lld.c | 2 +- readme.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/os/hal/platforms/STM32/icu_lld.c b/os/hal/platforms/STM32/icu_lld.c index 4767c493a..0f8bc4bc7 100644 --- a/os/hal/platforms/STM32/icu_lld.c +++ b/os/hal/platforms/STM32/icu_lld.c @@ -381,7 +381,7 @@ void icu_lld_start(ICUDriver *icup) { nvicEnableVector(TIM8_CC_IRQn, CORTEX_PRIORITY_MASK(STM32_ICU_TIM8_IRQ_PRIORITY)); nvicEnableVector(TIM8_UP_IRQn, - CORTEX_PRIORITY_MASK(STM32_ICU_TIM1_IRQ_PRIORITY)); + CORTEX_PRIORITY_MASK(STM32_ICU_TIM8_IRQ_PRIORITY)); icup->clock = STM32_TIMCLK2; } #endif diff --git a/readme.txt b/readme.txt index 62928eccb..9a3e647c6 100644 --- a/readme.txt +++ b/readme.txt @@ -79,6 +79,7 @@ ***************************************************************************** *** 2.4.2 *** +- FIX: Fixed wrong priority assigned to TIM8 in STM32 ICU driver (bug 3536950). - FIX: Fixed TIM8 not working in STM32 GPT driver (bug 3536523). - FIX: Fixed timer overflow not working in STM32 ICU driver for TIM1/TIM8 (bug 3536522).