Skip to content

Commit

Permalink
set registers in Flex Server v2
Browse files Browse the repository at this point in the history
Added the ability to set any Register in the Flex-Server for development / Slave simulation purpose,
Code reviev fix
  • Loading branch information
opt-natter committed May 15, 2019
1 parent bcabbf9 commit b2e3e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modbus-flex-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ module.exports = function (RED) {
}
}

if (msg.payload.disablemsg != '1') {
if (msg.payload.disablemsg !== 1) {
node.send(buildMessage(msg))
}
})
Expand Down

0 comments on commit b2e3e1f

Please sign in to comment.