mirror of https://github.com/arendst/Tasmota.git
Increase minimum packet size to 475 in #error
This commit is contained in:
parent
934d6e3f15
commit
25632ff7f8
|
@ -163,7 +163,7 @@ enum opt_t {P_HOLD_TIME, P_MAX_POWER_RETRY, P_MAX_PARAM8}; // Index in sysCf
|
|||
#endif
|
||||
#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
|
||||
#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
|
||||
|
||||
#include <Ticker.h> // RTC, HLW8012, OSWatch
|
||||
|
|
Loading…
Reference in New Issue