This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
mqtt: remove 'connecting' flag when connected
master
Max Prokhorov
5 years ago
parent
5ca44c1c4c
commit
6452f1777e
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
(
"
#
"
)
;
Write
Preview
Loading…
Cancel
Save