ESP32 change only: fix deprecation warning.
For some time the uart_config_t Boolean field use_ref_tick has been deprecated in favour of setting the new source_clk field to UART_SCLK_REF_TICK instead. This commit fixes that.
@@ -272,7 +272,7 @@ int32_t uPortUartOpen(int32_t uart, int32_t baudRate,
config.data_bits = UART_DATA_8_BITS,
config.stop_bits = UART_STOP_BITS_1,
config.parity = UART_PARITY_DISABLE,
- config.use_ref_tick = false;
+ config.source_clk = UART_SCLK_REF_TICK;
// Set the baud rate
config.baud_rate = baudRate;
