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

Rename USART4/5 to UART4/5

This commit avoids compilation errors when INVERTER_PIN_USART4/5 is set.
This commit is contained in:
Maxim Strinzha 2017-02-27 17:10:05 +03:00
parent b64832f05b
commit 499e74efa4
7 changed files with 26 additions and 26 deletions

View file

@ -395,7 +395,7 @@ void USART3_IRQHandler(void)
#endif
#ifdef USE_UART4
// USART4
// UART4
uartPort_t *serialUART4(uint32_t baudRate, portMode_t mode, portOptions_t options)
{
return serialUART(UARTDEV_4, baudRate, mode, options);
@ -409,7 +409,7 @@ void UART4_IRQHandler(void)
#endif
#ifdef USE_UART5
// USART5
// UART5
uartPort_t *serialUART5(uint32_t baudRate, portMode_t mode, portOptions_t options)
{
return serialUART(UARTDEV_5, baudRate, mode, options);