mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 20:16:55 +03:00
.
This commit is contained in:
@@ -192,7 +192,7 @@ bool ClassFlowMQTT::doFlow(string zwtime)
|
||||
char uptimeStr[11];
|
||||
sprintf(uptimeStr, "%ld", (long)getUpTime());
|
||||
|
||||
// Try sending ptime. If it fails, re-run init
|
||||
// Try sending uptime. If it fails, re-run init
|
||||
if (!MQTTPublish(zw, uptimeStr, SetRetainFlag))
|
||||
{ // Failed
|
||||
LogFile.WriteToFile(ESP_LOG_WARN, "MQTT - Re-running init...!");
|
||||
|
||||
Reference in New Issue
Block a user