aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-19 09:10:00 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-19 09:10:00 +0000
commit7956d88851e0357c678b9632ce27b7b943500f60 (patch)
treec8e21211c710f195d4515c7d469568959e07fc03 /os/hal
parent7956cba1bf92dce719111e05dce9905c99364563 (diff)
downloadChibiOS-7956d88851e0357c678b9632ce27b7b943500f60.tar.gz
ChibiOS-7956d88851e0357c678b9632ce27b7b943500f60.tar.bz2
ChibiOS-7956d88851e0357c678b9632ce27b7b943500f60.zip
Fixed bug 3569347.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4690 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32/GPIOv2/pal_lld.c2
1 files changed, 1 insertions, 1 deletions
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;
}