@@ -301,7 +301,7 @@ bool uartSetHwFlowCtrlMode(uart_t *uart, uart_hw_flowcontrol_t mode, uint8_t thr
301301}
302302
303303// This helper function will return true if a new IDF UART driver needs to be restarted and false if the current one can continue its execution
304- bool _testUartBegin (uint8_t uart_nr , uint32_t baudrate , uint32_t config , int8_t rxPin , int8_t txPin , uint16_t rx_buffer_size , uint16_t tx_buffer_size , bool inverted , uint8_t rxfifo_full_thrhd )
304+ bool _testUartBegin (uint8_t uart_nr , uint32_t baudrate , uint32_t config , int8_t rxPin , int8_t txPin , uint32_t rx_buffer_size , uint32_t tx_buffer_size , bool inverted , uint8_t rxfifo_full_thrhd )
305305{
306306 if (uart_nr >= SOC_UART_NUM ) {
307307 return false; // no new driver has to be installed
@@ -320,7 +320,7 @@ bool _testUartBegin(uint8_t uart_nr, uint32_t baudrate, uint32_t config, int8_t
320320 }
321321}
322322
323- uart_t * uartBegin (uint8_t uart_nr , uint32_t baudrate , uint32_t config , int8_t rxPin , int8_t txPin , uint16_t rx_buffer_size , uint16_t tx_buffer_size , bool inverted , uint8_t rxfifo_full_thrhd )
323+ uart_t * uartBegin (uint8_t uart_nr , uint32_t baudrate , uint32_t config , int8_t rxPin , int8_t txPin , uint32_t rx_buffer_size , uint32_t tx_buffer_size , bool inverted , uint8_t rxfifo_full_thrhd )
324324{
325325 if (uart_nr >= SOC_UART_NUM ) {
326326 log_e ("UART number is invalid, please use number from 0 to %u" , SOC_UART_NUM - 1 );
0 commit comments