Update: 在线版ampy上传前以及serial打开时不再对dtr和rts进行设置

This commit is contained in:
王立帮
2025-03-23 13:14:23 +08:00
parent 4f3f00bb22
commit 28b2cf8dfc
3 changed files with 0 additions and 17 deletions

View File

@@ -458,12 +458,6 @@ class StatusBarSerial extends PageBase {
async open() {
await this.#serial_.open(this.#config_.baud);
await this.#serial_.sleep(200);
try {
await this.#serial_.setDTRAndRTS(this.#config_.dtr, this.#config_.rts);
} catch (error) {
Debug.error(error);
}
if (SELECTED_BOARD?.serial?.ctrlCBtn) {
await this.#serial_.sleep(500);
await this.#serial_.interrupt();