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)