diff --git a/app/lib/arduino/index.js b/app/lib/arduino/index.js index 5d4bdb1..b6c6a06 100644 --- a/app/lib/arduino/index.js +++ b/app/lib/arduino/index.js @@ -302,10 +302,11 @@ mcopy.arduino.fakeConnect = async function (serial) { let end if (typeof timeout === 'undefined') timeout = 10 mcopy.arduino.timer = +new Date() - return setTimeout(() => { + setTimeout(() => { mcopy.arduino.end(cmd) return cb() }, timeout) + }, string : async function (str) { //do nothing