diff --git a/lib/index.js b/lib/index.js index b200d01..32310b0 100644 --- a/lib/index.js +++ b/lib/index.js @@ -269,9 +269,7 @@ class SSP extends EventEmitter { try { // Send command to device - let skipDrain = this.port.write(txBuffer) - if (!skipDrain) this.port.drain() - + this.port.write(txBuffer) this.commandSendAttempts += 1 // Await data from device