mirror of
https://github.com/dustinbrun/MQTT-Weather-display
synced 2025-03-11 13:07:40 +00:00
Fix Error after reconnect
This commit is contained in:
parent
0dc1fa6562
commit
620b792033
@ -32,7 +32,10 @@ void reconnect()
|
||||
while (!client.connected())
|
||||
{
|
||||
if (client.connect("WetterDisplay", mqtt_user, mqtt_pass))
|
||||
{
|
||||
client.subscribe("wetter_display/set");
|
||||
updatedisplay();
|
||||
}
|
||||
else
|
||||
{
|
||||
display_error("MQTT Error");
|
||||
|
Loading…
Reference in New Issue
Block a user