Merge branch 'bugfix/fix_the_monitor_consol_problem' into 'master'

tools: Fix the monitor console problem

Closes IDF-5514 and IDFGH-7913

See merge request espressif/esp-idf!19129
This commit is contained in:
Roland Dobai
2022-07-28 01:05:48 +08:00
3 changed files with 12 additions and 7 deletions

View File

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