actual version before - turnOff on startup change
This commit is contained in:
parent
613d846dbe
commit
75bb2794d2
5 changed files with 69 additions and 64 deletions
|
|
@ -74,7 +74,7 @@ async function writeData(port, data, readbytes, timeout){
|
|||
let t = setTimeout(() => {
|
||||
port.removeListener('data', callback);
|
||||
|
||||
console.log("serialport helper: writeData TIMEOUT READING", rsPortReceivedData);
|
||||
//console.log("serialport helper: writeData TIMEOUT READING", rsPortReceivedData);
|
||||
|
||||
reject("TIMEOUT READING");
|
||||
}, timeout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue