Skip to content

Commit

Permalink
Update simpleCan.js (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaarrrggghhhh authored Nov 5, 2021
1 parent 16ba924 commit f541d1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/simpleCan.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ SimpleCan.prototype.start = function () {

pgn.timestamp = new Date().toISOString()
if ( this.plainText ) {
messageCb(binToActisense(pgn, msg.data, msg.data.length))
this.messageCb(binToActisense(pgn, msg.data, msg.data.length))
} else {
messageCb({ pgn, length: msg.data.length, data: msg.data })
this.messageCb({ pgn, length: msg.data.length, data: msg.data })
}
})
}
Expand Down

0 comments on commit f541d1b

Please sign in to comment.