mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Add auto-reconnect to Paho MQTT Client
This commit is contained in:
parent
56ae45dae2
commit
54b43a06cd
@ -88,7 +88,7 @@ int mqttPublish(const char* topic, const char* payload, size_t len, bool retain)
|
||||
|
||||
void connlost(void* context, char* cause)
|
||||
{
|
||||
LOG_WARNING(TAG_MQTT, F(D_MQTT_DISCONNECTED) ": %s", cause);
|
||||
LOG_WARNING(TAG_MQTT, F(D_MQTT_DISCONNECTED ": %s"), cause);
|
||||
}
|
||||
|
||||
// Receive incoming messages
|
||||
|
Loading…
x
Reference in New Issue
Block a user