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