Update interface_mqtt.cpp

This commit is contained in:
CaCO3
2024-02-03 00:33:18 +01:00
committed by GitHub
parent a21bd4c611
commit d31a318ab8

View File

@@ -441,7 +441,7 @@ void MQTTconnected(){
if (connectFunktionMap != NULL) {
for(std::map<std::string, std::function<void()>>::iterator it = connectFunktionMap->begin(); it != connectFunktionMap->end(); ++it) {
it->second();
LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, "call connect function '", it->first + "'");
LogFile.WriteToFile(ESP_LOG_DEBUG, TAG, "call connect function '" + it->first + "'");
}
}