From eff9b8d5a0b2dbb9333c35d04596a78e3c21628b Mon Sep 17 00:00:00 2001 From: dilin-MS Date: Wed, 3 Jun 2020 10:38:48 +0800 Subject: [PATCH] fix: serial monitor keeps esp devices in flash mode --- src/serialmonitor/serialportctrl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialmonitor/serialportctrl.ts b/src/serialmonitor/serialportctrl.ts index c2f1a846..c09e1e78 100644 --- a/src/serialmonitor/serialportctrl.ts +++ b/src/serialmonitor/serialportctrl.ts @@ -64,7 +64,7 @@ export class SerialPortCtrl { }); }); } else { - this._currentSerialPort = new SerialPortCtrl.serialport(this._currentPort, { baudRate: this._currentBaudRate }); + this._currentSerialPort = new SerialPortCtrl.serialport(this._currentPort, { baudRate: this._currentBaudRate, hupcl: false }); this._outputChannel.show(); this._currentSerialPort.on("open", () => { if (VscodeSettings.getInstance().disableTestingOpen) {