forked from Archive/PX4-Autopilot
aerofc: Correctly enable UART driver for UART5(Telemetry port)
UART4 and UART5 are not USART instances.
This commit is contained in:
parent
d42f8f4745
commit
6bcf9266dc
|
@ -491,7 +491,7 @@ CONFIG_STM32_UART4_SERIALDRIVER=y
|
|||
# CONFIG_STM32_UART4_1WIREDRIVER is not set
|
||||
# CONFIG_UART4_RS485 is not set
|
||||
CONFIG_UART4_RXDMA=y
|
||||
CONFIG_STM32_USART5_SERIALDRIVER=y
|
||||
CONFIG_STM32_UART5_SERIALDRIVER=y
|
||||
# CONFIG_STM32_UART5_1WIREDRIVER is not set
|
||||
# CONFIG_UART5_RS485 is not set
|
||||
CONFIG_UART5_RXDMA=y
|
||||
|
@ -909,8 +909,6 @@ CONFIG_UART5_SERIALDRIVER=y
|
|||
CONFIG_USART1_SERIALDRIVER=y
|
||||
CONFIG_USART2_SERIALDRIVER=y
|
||||
CONFIG_USART3_SERIALDRIVER=y
|
||||
# CONFIG_USART4_SERIALDRIVER is not set
|
||||
# CONFIG_USART5_SERIALDRIVER is not set
|
||||
CONFIG_USART6_SERIALDRIVER=y
|
||||
# CONFIG_USART7_SERIALDRIVER is not set
|
||||
# CONFIG_USART8_SERIALDRIVER is not set
|
||||
|
|
Loading…
Reference in New Issue