Fix problems found after verification of local commits.

This commit is contained in:
Henrik Ekblad
2014-07-27 16:55:41 +02:00
parent a845691b8b
commit 7fb39d69d4
5 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ void MyGateway::parseAndSend(char *commandBuffer) {
msg.sensor = sensor;
msg.type = type;
mSetCommand(msg,command);
mSetRequestAck(msg,ack==0?false:true);
mSetRequestAck(msg,ack?1:0);
mSetAck(msg,false);
msg.set(value);
ok = sendRoute(msg);