Only change baudrate if it's different between ROM and STUB
This commit is contained in:
parent
ebccd23944
commit
d1524e51bd
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user