From 002b2d77855b25271effda174d2acbff593999cc Mon Sep 17 00:00:00 2001 From: Tester23 <85486843+openshwprojects@users.noreply.github.com> Date: Sat, 13 Sep 2025 21:51:50 +0200 Subject: [PATCH] 100 ms --- src/hal/espidf/hal_uart_espidf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hal/espidf/hal_uart_espidf.c b/src/hal/espidf/hal_uart_espidf.c index 069339496..f4abc4aaa 100644 --- a/src/hal/espidf/hal_uart_espidf.c +++ b/src/hal/espidf/hal_uart_espidf.c @@ -104,7 +104,7 @@ void HAL_UART_SendByte(byte b) } void HAL_UART_Flush(void) { - uart_wait_tx_done(uartnum,1000); + uart_wait_tx_done(uartnum, pdMS_TO_TICKS(100)); } void HAL_SetBaud(uint32_t baud) {