We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a0add3e + abcfcc1 commit 9abbe72Copy full SHA for 9abbe72
src/serialmonitor/serialportctrl.ts
@@ -79,6 +79,11 @@ export class SerialPortCtrl {
79
reject(err);
80
} else {
81
this._outputChannel.appendLine(`[Info] Opened the serial port - ${this._currentPort}`);
82
+ this._currentSerialPort.set(["dtr=true"], (err) => {
83
+ if (err) {
84
+ reject(err);
85
+ }
86
+ });
87
resolve();
88
}
89
});
@@ -164,7 +169,13 @@ export class SerialPortCtrl {
164
169
if (err) {
165
170
166
171
167
- resolve();
172
173
174
175
+ } else {
176
+ resolve();
177
178
168
179
180
181
0 commit comments