Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit bd18689

Browse files
authored
Merge pull request #1042 from microsoft/fix-esp-devices-flash
fix: serial monitor keeps esp devices in flash mode
2 parents 1c391dd + eff9b8d commit bd18689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/serialmonitor/serialportctrl.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export class SerialPortCtrl {
6464
});
6565
});
6666
} else {
67-
this._currentSerialPort = new SerialPortCtrl.serialport(this._currentPort, { baudRate: this._currentBaudRate });
67+
this._currentSerialPort = new SerialPortCtrl.serialport(this._currentPort, { baudRate: this._currentBaudRate, hupcl: false });
6868
this._outputChannel.show();
6969
this._currentSerialPort.on("open", () => {
7070
if (VscodeSettings.getInstance().disableTestingOpen) {

0 commit comments

Comments
 (0)