From 0a671a9646a399f2b5d6a84c545c16387e6d8996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Sun, 9 Mar 2025 16:26:44 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20=E6=9B=B4=E6=96=B0Mixly.Web.Ampy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/modules/mixly-modules/web/ampy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/modules/mixly-modules/web/ampy.js b/common/modules/mixly-modules/web/ampy.js index 5fa9e2a3..d46b2384 100644 --- a/common/modules/mixly-modules/web/ampy.js +++ b/common/modules/mixly-modules/web/ampy.js @@ -163,14 +163,14 @@ class AmpyExt extends Ampy { } this.#active_ = true; await this.#device_.open(115200); - /*await this.#device_.sleep(500); + await this.#device_.sleep(500); const { SELECTED_BOARD } = Config; if (SELECTED_BOARD?.serial && SELECTED_BOARD.serial?.dtr !== undefined && SELECTED_BOARD.serial?.rts !== undefined) { const { dtr, rts } = SELECTED_BOARD.serial; await this.#device_.setDTRAndRTS(dtr, rts); - }*/ + } await this.#device_.sleep(500); await this.#device_.sendBuffer([2]); if (!await this.interrupt()) {