Browse Source

mqtt: remove 'connecting' flag when connected

master
Max Prokhorov 5 years ago
parent
commit
6452f1777e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/mqtt.ino

+ 1
- 0
code/espurna/mqtt.ino View File

@ -380,6 +380,7 @@ void _mqttOnConnect() {
_mqtt_reconnect_delay = MQTT_RECONNECT_DELAY_MIN;
_mqtt_last_connection = millis();
_mqtt_connecting = false;
// Clean subscriptions
mqttUnsubscribeRaw("#");


Loading…
Cancel
Save