Browse Source

Fix MQTT keep alive cannot be more than 255 seconds (#515)

pull/520/head
Xose Pérez 6 years ago
parent
commit
6ef4d130c7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/mqtt.ino

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

@ -38,7 +38,7 @@ bool _mqtt_use_json = false;
unsigned long _mqtt_reconnect_delay = MQTT_RECONNECT_DELAY_MIN;
unsigned char _mqtt_qos = MQTT_QOS;
bool _mqtt_retain = MQTT_RETAIN;
unsigned char _mqtt_keepalive = MQTT_KEEPALIVE;
unsigned long _mqtt_keepalive = MQTT_KEEPALIVE;
String _mqtt_topic;
String _mqtt_topic_json;
String _mqtt_setter;


Loading…
Cancel
Save