1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Merge pull request #11235 from mluessi/ml_fix_h7_usart1_af

Fix H7 USART1 AF for PB6 and PB7
This commit is contained in:
J Blackman 2022-01-09 12:08:10 +11:00 committed by GitHub
commit 18ee33e7a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,12 +113,12 @@ const uartHardware_t uartHardware[UARTDEV_COUNT] = {
#endif #endif
.rxPins = { .rxPins = {
{ DEFIO_TAG_E(PA10), GPIO_AF7_USART1 }, { DEFIO_TAG_E(PA10), GPIO_AF7_USART1 },
{ DEFIO_TAG_E(PB7), GPIO_AF4_USART1 }, { DEFIO_TAG_E(PB7), GPIO_AF7_USART1 },
{ DEFIO_TAG_E(PB15), GPIO_AF4_USART1 }, { DEFIO_TAG_E(PB15), GPIO_AF4_USART1 },
}, },
.txPins = { .txPins = {
{ DEFIO_TAG_E(PA9), GPIO_AF7_USART1 }, { DEFIO_TAG_E(PA9), GPIO_AF7_USART1 },
{ DEFIO_TAG_E(PB6), GPIO_AF4_USART1 }, { DEFIO_TAG_E(PB6), GPIO_AF7_USART1 },
{ DEFIO_TAG_E(PB14), GPIO_AF4_USART1 }, { DEFIO_TAG_E(PB14), GPIO_AF4_USART1 },
}, },
.rcc = RCC_APB2(USART1), .rcc = RCC_APB2(USART1),