Kaynağa Gözat

moved log entry

CaCO3 3 yıl önce
ebeveyn
işleme
eafcdb01c2

+ 1 - 1
code/components/jomjol_flowcontroll/ClassFlowMQTT.cpp

@@ -157,8 +157,8 @@ bool ClassFlowMQTT::doFlow(string zwtime)
         else { // Failed
         else { // Failed
             return true; // We need to return true despite we failed, else it will retry 5x and then reboot!
             return true; // We need to return true despite we failed, else it will retry 5x and then reboot!
         }
         }
+        LogFile.WriteToFile("MQTT is now enabled");
     }
     }
-    LogFile.WriteToFile("MQTT enabled");
 
 
     std::string result;
     std::string result;
     std::string resulterror = "";
     std::string resulterror = "";