Fix: 修复electron下arduino在上传后获取代码区串口波特率出错
This commit is contained in:
@@ -335,6 +335,9 @@ class Serial {
|
||||
if (this.isOpened()) {
|
||||
await this.close();
|
||||
}
|
||||
this.#events_ = null;
|
||||
this.#encoder_ = null;
|
||||
this.#decoder_ = null;
|
||||
}
|
||||
|
||||
bind(type, func) {
|
||||
|
||||
Reference in New Issue
Block a user