Only change baudrate if it's different between ROM and STUB

This commit is contained in:
Paulus Schoutsen 2023-01-19 10:37:35 -05:00
parent ebccd23944
commit d1524e51bd

View File

@ -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;
} }