some minor code cleaning

This commit is contained in:
1technophile committed 2017-09-16 15:33:44 +02:00
1 parent dfdf53f748
commit 2885a86ef9
2 files changed
+1 -3

No files matched your search

-1
View File
@@ -51,7 +51,6 @@ void MQTTtoRF2(char * topicOri, char * datacallback) {
long valueCODE = 0;
int valueUNIT = -1;
int valuePERIOD = 0;
int valueBIT = 0;
int pos = topic.lastIndexOf(RF2codeKey);
if (pos != -1){
+1 -2
View File
@@ -195,8 +195,7 @@ if ((topic == subjectMQTTtoRFM69) && (valueRCV == defaultRFM69ReceiverId)){
// Acknowledgement to the GTWRF topic
boolean result = client.publish(subjectGTWRFM69toMQTT, datacallback);
if (result)trc(F("Ack published"));
return true;
break;
return true;
}
else {
Serial.print("!");