From 7956d88851e0357c678b9632ce27b7b943500f60 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 19 Sep 2012 09:10:00 +0000 Subject: Fixed bug 3569347. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4690 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/GPIOv2/pal_lld.c | 2 +- readme.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os/hal/platforms/STM32/GPIOv2/pal_lld.c b/os/hal/platforms/STM32/GPIOv2/pal_lld.c index c11fedf9c..a08c48103 100644 --- a/os/hal/platforms/STM32/GPIOv2/pal_lld.c +++ b/os/hal/platforms/STM32/GPIOv2/pal_lld.c @@ -72,11 +72,11 @@ static void initgpio(GPIO_TypeDef *gpiop, const stm32_gpio_setup_t *config) { + gpiop->ODR = config->odr; gpiop->MODER = config->moder; gpiop->OTYPER = config->otyper; gpiop->OSPEEDR = config->ospeedr; gpiop->PUPDR = config->pupdr; - gpiop->ODR = config->odr; gpiop->AFRL = config->afrl; gpiop->AFRH = config->afrh; } diff --git a/readme.txt b/readme.txt index b4027bf4f..1abf88a01 100644 --- a/readme.txt +++ b/readme.txt @@ -83,6 +83,8 @@ ***************************************************************************** *** 2.5.1 *** +- FIX: Fixed GPIO glitch during PAL initialization (bug 3569347)(backported + to 2.4.3). - FIX: Fixed Data available event not generated in serial_usb driver (bug 3567992). - FIX: Fixed STM32F1x rtc_lld_init glitches rtc on hard reset (bug 3567597) -- cgit v1.2.3