There was an error while loading. Please reload this page.
1 parent 08ac7da commit 54b5167Copy full SHA for 54b5167
src/serialmonitor/serialportctrl.ts
@@ -73,7 +73,7 @@ export class SerialPortCtrl {
73
return resolve();
74
}
75
76
- this._currentSerialPort.write("TestingOpen" + '\r\n', (err) => {
+ this._currentSerialPort.write("TestingOpen" + "\r\n", (err) => {
77
// TODO: Fix this on the serial port lib: https://github.com/EmergingTechnologyAdvisors/node-serialport/issues/795
78
if (err && !(err.message.indexOf("Writing to COM port (GetOverlappedResult): Unknown error code 121") >= 0)) {
79
this._outputChannel.appendLine(`[Error] Failed to open the serial port - ${this._currentPort}`);
0 commit comments