This commit is contained in:
Tester23 2025-09-14 16:14:27 +02:00
parent cad47c3431
commit d31b75fa1f
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ int UART_InitUARTEx(int auartindex, int baud, int parity, bool hwflowc)
uartbuf_t* fuartbuf = UART_GetBufFromPort(auartindex);
fuartbuf->g_uart_init_counter++;
#ifdef UART_2_UARTS_CONCURRENT
HAL_UART_InitEx(auartindex, baud, parity, hwflowc);
HAL_UART_InitEx(auartindex, baud, parity, hwflowc, -1, -1);
#else
HAL_UART_Init(baud, parity, hwflowc, -1, -1);
#endif

View File

@ -8,7 +8,7 @@
#ifdef UART_2_UARTS_CONCURRENT
void HAL_UART_SendByteEx(int auartindex, byte b);
int HAL_UART_InitEx(int auartindex, int baud, int parity, bool hwflowc);
int HAL_UART_InitEx(int auartindex, int baud, int parity, bool hwflowc, int txOverride, int rxOverride);
#else
void HAL_UART_SendByte(byte b);