Merge pull request #62 from domagojk/fix-conn-error

fix: timeout error on connecting
This commit is contained in:
Ivan Grokhotkov 2023-01-12 16:50:37 +01:00 committed by GitHub
commit ddfda78b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;