From ff207a92df56d751c994691286acea57ab65fbed Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 19 Sep 2012 16:50:34 +0000 Subject: Updated bug 3569347. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4698 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/GPIOv2/pal_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/platforms/STM32/GPIOv2') diff --git a/os/hal/platforms/STM32/GPIOv2/pal_lld.c b/os/hal/platforms/STM32/GPIOv2/pal_lld.c index a08c48103..4fa4a2194 100644 --- a/os/hal/platforms/STM32/GPIOv2/pal_lld.c +++ b/os/hal/platforms/STM32/GPIOv2/pal_lld.c @@ -72,13 +72,13 @@ 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; + gpiop->MODER = config->moder; } /*===========================================================================*/ -- cgit v1.2.3