Skip to content

Commit

Permalink
fix: Thermometer extends Withinable, not Emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jul 6, 2021
1 parent 6b2ca0d commit 538b94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/thermometer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const Board = require("./board");
const EventEmitter = require("events");
const Emitter = require("./mixins/emitter");
const Withinable = require("./mixins/withinable");
const {
toFixed,
POW_2_16,
Expand Down Expand Up @@ -880,7 +880,7 @@ Controllers.DEFAULT = Controllers.ANALOG;

var priv = new Map();

class Thermometer extends Emitter {
class Thermometer extends Withinable {
constructor(options) {
super();

Expand Down

0 comments on commit 538b94a

Please sign in to comment.