mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-25 06:15:43 +08:00
FIX usb_transparent STM32F4 GPIOA clock not enabled (#2461)
This commit is contained in:
committed by
Michal Podhradsky
parent
b3ad7fe5c7
commit
63805310d8
@@ -547,6 +547,7 @@ void VCOM_init(void)
|
||||
|
||||
/* set up GPIO pins */
|
||||
#if defined STM32F4
|
||||
rcc_periph_clock_enable(RCC_GPIOA);
|
||||
gpio_mode_setup(GPIOA, GPIO_MODE_AF, GPIO_PUPD_NONE,
|
||||
GPIO11 | GPIO12);
|
||||
gpio_set_af(GPIOA, GPIO_AF10, GPIO11 | GPIO12);
|
||||
|
||||
Reference in New Issue
Block a user