last cleanup after uci-dev split out
parent
7f9b54e2c7
commit
c4575be271
|
@ -32,7 +32,7 @@ class Bus {
|
|||
}
|
||||
|
||||
write(address, cmd, byte) {
|
||||
// console.log("write: address, cmd, byte", address, cmd, byte)
|
||||
// console.log('write: address, cmd, byte', address, cmd, byte)
|
||||
return pify(this.bus.writeByte.bind(this.bus))(address, cmd, byte)
|
||||
}
|
||||
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
const chai = require('chai'),
|
||||
chaiAsPromised = require("chai-as-promised"),
|
||||
Bus = require('../lib/bus').Bus,
|
||||
Device = require('../lib/device').Device
|
||||
Bus = require('../lib/bus').Bus
|
||||
|
||||
chai.use(chaiAsPromised);
|
||||
chai.use(chaiAsPromised)
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
let bus = new Bus()
|
||||
|
||||
let addresses = [0x20, 0x23, 0x27]
|
||||
// const addresses = [0x20, 0x26, 0x27]
|
||||
const addresses = []
|
||||
|
||||
describe('Bus Class - ', function () {
|
||||
|
||||
|
|
Loading…
Reference in New Issue