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:
commit
28007a68e6
@ -788,7 +788,9 @@ export class ESPLoader {
|
|||||||
|
|
||||||
await this.run_stub();
|
await this.run_stub();
|
||||||
|
|
||||||
await this.change_baud();
|
if (this.rom_baudrate !== this.baudrate) {
|
||||||
|
await this.change_baud();
|
||||||
|
}
|
||||||
return chip;
|
return chip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user