diff --git a/main/uart_handler.c b/main/uart_handler.c index b69604d..cd89b5b 100644 --- a/main/uart_handler.c +++ b/main/uart_handler.c @@ -81,8 +81,8 @@ static void uart_rx_task(void *arg) { ESP_LOGI(TAG, "UART RX task started, waiting for data on UART%d", BMC_UART_NUM); while (uart_initialized) { - // Check for data from UART with longer timeout - int len = uart_read_bytes(BMC_UART_NUM, temp_buf, 256, pdMS_TO_TICKS(100)); + // Check for data from UART with short timeout for responsive console + int len = uart_read_bytes(BMC_UART_NUM, temp_buf, 256, pdMS_TO_TICKS(10)); if (len > 0) { // Store in ring buffer