Skip to content

Commit

Permalink
test dtr
Browse files Browse the repository at this point in the history
  • Loading branch information
petervanderwalt committed Apr 25, 2024
1 parent 09eb353 commit 2fb8abe
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions index.js
Expand Up @@ -1134,11 +1134,13 @@ io.on("connection", function(socket) {
if (data.type == "usb") {
console.log("connect", "Connecting to " + data.port + " via " + data.type);

const defaultSetFlags: SetOptions = {
brk: false,
cts: false,
dtr: false,
rts: false,
const defaultSetFlags = {
SetOptions: {
brk: false,
cts: false,
dtr: false,
rts: false,
}
}

port = new SerialPort({
Expand Down

0 comments on commit 2fb8abe

Please sign in to comment.