Skip to content

Commit

Permalink
Fixing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stoprocent committed Oct 8, 2023
1 parent 13a54c0 commit cfb3cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/uart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit cfb3cfc

Please sign in to comment.