From 6b137abb718f4059f0a884cdf3813fa390c3415c Mon Sep 17 00:00:00 2001 From: David Kebler Date: Sun, 28 Apr 2019 10:08:51 -0700 Subject: [PATCH] 0.1.33 remove emitting from find (can do local stuff via interrupt processor. update from changes to sockets --- package.json | 4 ++-- src/mcp230xxi.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ce644ec..87686d3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@uci/mcp", "main": "src", - "version": "0.1.32", + "version": "0.1.33", "description": "Classes and Helper Functions for using the MCP chip on I2C Bus", "scripts": { "relays": "node -r esm examples/relays", @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/uCOMmandIt/uci-mcp#readme", "dependencies": { - "@uci/i2c-device": "^0.1.16", + "@uci/i2c-device": "^0.1.17", "@uci-utils/logger": "0.0.14", "@uci-utils/byte": "^0.2.2" }, diff --git a/src/mcp230xxi.js b/src/mcp230xxi.js index c006bd0..fa89d58 100644 --- a/src/mcp230xxi.js +++ b/src/mcp230xxi.js @@ -144,7 +144,6 @@ const icommands = { delete res.status res.interrupt_ready = status || false res.state = (await this.commands.pin.status(packet)).status.pins[0][1] - this.emit('interrupt',Object.assign({},res)) // emit for end user purposes, don't allow mutation this._interruptProcess(res) return res } else {