Merge pull request #81 from balloob/change-baud-if-different

Only change baudrate if it's different between ROM and STUB
This commit is contained in:
Ivan Grokhotkov 2023-01-25 20:23:43 +01:00 committed by GitHub
commit 28007a68e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -788,7 +788,9 @@ export class ESPLoader {
await this.run_stub(); await this.run_stub();
if (this.rom_baudrate !== this.baudrate) {
await this.change_baud(); await this.change_baud();
}
return chip; return chip;
} }