diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-19 09:10:00 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-19 09:10:00 +0000 |
commit | 7956d88851e0357c678b9632ce27b7b943500f60 (patch) | |
tree | c8e21211c710f195d4515c7d469568959e07fc03 /os/hal | |
parent | 7956cba1bf92dce719111e05dce9905c99364563 (diff) | |
download | ChibiOS-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.c | 2 |
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;
}
|