Skip to content

Commit

Permalink
fix: exception when calling toActisenseSerialFormat (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 authored Jul 9, 2019
1 parent d65ef10 commit 6d043e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/stringMsg.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ exports.encodeActisense = ({
prio, pgn, src, dst, data.length,
byteString(data)
].join(','))
exports.toActisenseSerialFormat = (pgn, data, dst=255, src=0) => encodeActisense({

exports.toActisenseSerialFormat = (pgn, data, dst=255, src=0) => exports.encodeActisense({
pgn, data, dst, src,
})

Expand Down

0 comments on commit 6d043e9

Please sign in to comment.