fix: timeout error on connecting

This commit is contained in:
dom 2023-01-12 12:52:23 +01:00
parent 2e8ca4533f
commit 6ecf8dd3a7

View File

@ -353,7 +353,6 @@ export class ESPLoader {
} }
this.write_char("\n"); this.write_char("\n");
this.write_char("\r"); this.write_char("\r");
await this.flush_input();
if (!detecting) { if (!detecting) {
const chip_magic_value = (await this.read_reg(0x40001000)) >>> 0; const chip_magic_value = (await this.read_reg(0x40001000)) >>> 0;