1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

STM32F30x - Use USART2 non-DMA RX. This enables the use of serial-rx.

This commit is contained in:
Dominic Clifton 2014-05-02 19:56:40 +01:00
parent 9b84d47d33
commit ef06d438e4
2 changed files with 43 additions and 27 deletions

View file

@ -107,7 +107,8 @@ void systemInit(bool overclock)
RCC_APB1Periph_TIM2 |
RCC_APB1Periph_TIM3 |
RCC_APB1Periph_TIM4 |
RCC_APB1Periph_I2C2,
RCC_APB1Periph_I2C2 |
RCC_APB1Periph_USART2,
ENABLE
);
RCC_APB2PeriphClockCmd(