mirror of https://github.com/arendst/Tasmota.git
Merge pull request #703 from don-willingham/update_error
Increase minimum packet size to 475 in #error
This commit is contained in:
commit
48635f0906
|
@ -163,7 +163,7 @@ enum opt_t {P_HOLD_TIME, P_MAX_POWER_RETRY, P_MAX_PARAM8}; // Index in sysCf
|
||||||
#endif
|
#endif
|
||||||
#if (MQTT_MAX_PACKET_SIZE -TOPSZ -7) < MESSZ // If the max message size is too small, throw an error at compile time
|
#if (MQTT_MAX_PACKET_SIZE -TOPSZ -7) < MESSZ // If the max message size is too small, throw an error at compile time
|
||||||
// See pubsubclient.c line 359
|
// See pubsubclient.c line 359
|
||||||
#error "MQTT_MAX_PACKET_SIZE is too small in libraries/PubSubClient/src/PubSubClient.h, increase it to at least 467"
|
#error "MQTT_MAX_PACKET_SIZE is too small in libraries/PubSubClient/src/PubSubClient.h, increase it to at least 475"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Ticker.h> // RTC, HLW8012, OSWatch
|
#include <Ticker.h> // RTC, HLW8012, OSWatch
|
||||||
|
|
Loading…
Reference in New Issue