mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-08-03 20:55:14 +02:00
fix: Move buffer initialization to set config
When calling set config message buffers were not affected because the creation was handled on init. Closes https://github.com/espressif/esp-mqtt/issues/267
This commit is contained in:
committed by
Rocha Euripedes
parent
abd8b6cadc
commit
ea0df31e00
@@ -100,6 +100,7 @@
|
||||
#define MQTT_ENABLE_SSL CONFIG_MQTT_TRANSPORT_SSL
|
||||
#define MQTT_ENABLE_WS CONFIG_MQTT_TRANSPORT_WEBSOCKET
|
||||
#define MQTT_ENABLE_WSS CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE
|
||||
#define MQTT_DEFAULT_RETRANSMIT_TIMEOUT_MS 1000
|
||||
|
||||
#ifdef CONFIG_MQTT_EVENT_QUEUE_SIZE
|
||||
#define MQTT_EVENT_QUEUE_SIZE CONFIG_MQTT_EVENT_QUEUE_SIZE
|
||||
|
Reference in New Issue
Block a user