From 2c9e584ff29bfcfb1525fdaf0a08d6851997ff29 Mon Sep 17 00:00:00 2001 From: 1technophile Date: Sat, 16 Sep 2017 15:39:19 +0200 Subject: [PATCH] Haven't seen this one and codacy to remove unecessary break statement --- ZgatewayRFM69.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ZgatewayRFM69.ino b/ZgatewayRFM69.ino index 50c026d..44be51a 100644 --- a/ZgatewayRFM69.ino +++ b/ZgatewayRFM69.ino @@ -219,8 +219,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("!");