From cfb3cfc3ffa737a9c964b55f581293f1f7e2e34f Mon Sep 17 00:00:00 2001 From: Marek Serafin Date: Sun, 8 Oct 2023 18:51:27 +0200 Subject: [PATCH] Fixing warnings --- lib/uart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/uart.js b/lib/uart.js index 22d8bbb..66341ea 100644 --- a/lib/uart.js +++ b/lib/uart.js @@ -34,7 +34,7 @@ BluetoothHciSocket.prototype.setFilter = function(filter) { cmd.writeUInt8(filter.length, 3); // Concate Buffers - cmd = Buffer.concat([cmd, filter]) + cmd = Buffer.concat([cmd, filter]); this.write(cmd); }; @@ -70,7 +70,7 @@ BluetoothHciSocket.prototype.bindUser = function(devId, params) { // Message Queue this._queue = async.queue((data, callback) => this._serialDevice.write(data, (a, b) => callback())); - this._queue.pause() + this._queue.pause(); // Serial Port Parser this._parser = this._serialDevice.pipe(new HciSerialParser());