Updated bug 3569347.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4698 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2012-09-19 16:50:34 +00:00
parent f6f2c383bf
commit ff207a92df
1 changed files with 2 additions and 2 deletions

View File

@ -72,13 +72,13 @@
static void initgpio(GPIO_TypeDef *gpiop, const stm32_gpio_setup_t *config) { 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->OTYPER = config->otyper;
gpiop->OSPEEDR = config->ospeedr; gpiop->OSPEEDR = config->ospeedr;
gpiop->PUPDR = config->pupdr; gpiop->PUPDR = config->pupdr;
gpiop->ODR = config->odr;
gpiop->AFRL = config->afrl; gpiop->AFRL = config->afrl;
gpiop->AFRH = config->afrh; gpiop->AFRH = config->afrh;
gpiop->MODER = config->moder;
} }
/*===========================================================================*/ /*===========================================================================*/