From 6ecf8dd3a7f48af730105de5d8899d340aba8f69 Mon Sep 17 00:00:00 2001 From: dom Date: Thu, 12 Jan 2023 12:52:23 +0100 Subject: [PATCH] fix: timeout error on connecting --- src/esploader.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/esploader.ts b/src/esploader.ts index db58731..b30d718 100644 --- a/src/esploader.ts +++ b/src/esploader.ts @@ -353,7 +353,6 @@ export class ESPLoader { } this.write_char("\n"); this.write_char("\r"); - await this.flush_input(); if (!detecting) { const chip_magic_value = (await this.read_reg(0x40001000)) >>> 0;