Updated bug 3569347.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4698 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
f6f2c383bf
commit
ff207a92df
|
@ -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;
|
||||
}
|
||||
|
||||
/*===========================================================================*/
|
||||
|
|
Loading…
Reference in New Issue