decreased timeout when nothing could have been received to 1 tick (in current configuration for freertos 1ms (1kHz))

This commit is contained in:
Timo Niemann
2026-06-04 11:39:23 +02:00
parent 7f39fc6de3
commit 529e4447d4
+1 -1
View File
@@ -46,7 +46,7 @@ static void read_serial_line_task(void *params){
int c = getchar_timeout_us(0); int c = getchar_timeout_us(0);
if(c == PICO_ERROR_TIMEOUT){ if(c == PICO_ERROR_TIMEOUT){
vTaskDelay(pdMS_TO_TICKS(10)); vTaskDelay(1);
continue; continue;
} }