@@ -301,7 +301,7 @@ bool uartSetHwFlowCtrlMode(uart_t *uart, uart_hw_flowcontrol_t mode, uint8_t thr
301
301
}
302
302
303
303
// 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 )
305
305
{
306
306
if (uart_nr >= SOC_UART_NUM ) {
307
307
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
320
320
}
321
321
}
322
322
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 )
324
324
{
325
325
if (uart_nr >= SOC_UART_NUM ) {
326
326
log_e ("UART number is invalid, please use number from 0 to %u" , SOC_UART_NUM - 1 );
0 commit comments