mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2026-01-29 05:40:40 +03:00
refactored check if logfile is enabled. error messages always get logged now
This commit is contained in:
@@ -137,9 +137,8 @@ bool ClassFlowMQTT::ReadParameter(FILE* pfile, string& aktparamgraph)
|
||||
maintopic = hostname;
|
||||
}
|
||||
}
|
||||
|
||||
ESP_LOGW(TAG, "KEEPALIVE: %d", keepAlive);
|
||||
MQTT_Configure(uri, clientname, user, password, maintopic, "/connection", keepAlive);
|
||||
|
||||
MQTT_Configure(uri, clientname, user, password, maintopic, "connection", keepAlive);
|
||||
|
||||
if (!MQTT_Init()) {
|
||||
if (!MQTT_Init()) { // Retry
|
||||
|
||||
Reference in New Issue
Block a user