We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be071ad commit f08bc83Copy full SHA for f08bc83
app/modules/memaker.json
@@ -24,6 +24,7 @@
24
"control": "slave",
25
"duration": 32,
26
"vendor": ["Silicon Lab", "IntegriSys S.A."],
27
- "baudRate": 115200
+ "baudRate": 115200,
28
+ "byteDelimiter": [13, 10]
29
}
30
app/src/main/connector.js
@@ -85,7 +85,7 @@ class Connector {
85
const serialPort = new SerialPort(port, this._makeSerialPortOptions(hardwareOptions));
86
this.serialPort = serialPort;
87
88
- const { delimiter, byteDelimiter = [13, 10] } = hardwareOptions;
+ const { delimiter, byteDelimiter } = hardwareOptions;
89
if (delimiter) {
90
serialPort.parser = serialPort.pipe(new Readline({ delimiter }));
91
} else if (byteDelimiter) {
0 commit comments