tools: fix idf.py monitor consol problem

This commit is contained in:
Данила Горнушко 2023-11-24 00:48:24 +03:00
parent 3423bbc5ea
commit 3720a83ece

View file

@ -1195,7 +1195,7 @@ int linenoiseProbe() {
flushWrite(); flushWrite();
/* Try to read response */ /* Try to read response */
int timeout_ms = 200; int timeout_ms = 300;
const int retry_ms = 10; const int retry_ms = 10;
size_t read_bytes = 0; size_t read_bytes = 0;
while (timeout_ms > 0 && read_bytes < 4) { // response is ESC[0n or ESC[3n while (timeout_ms > 0 && read_bytes < 4) { // response is ESC[0n or ESC[3n