fix(core): 修复一些情况下板卡无法进入waiting for download模式
This commit is contained in:
@@ -110,7 +110,11 @@ class Transport {
|
||||
|
||||
async setRTS(state) {
|
||||
await this.serial.setRTS(state);
|
||||
if (this.tracing) this.trace(`Set RTS = ${state}`);
|
||||
await this.serial.setDTR(this.serial.getDTR());
|
||||
if (this.tracing) {
|
||||
this.trace(`Set RTS = ${state}`);
|
||||
this.trace(`Set DTR = ${this.serial.getDTR()}`);
|
||||
}
|
||||
}
|
||||
|
||||
async setDTR(state) {
|
||||
|
||||
Reference in New Issue
Block a user