mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-07-30 10:48:06 +02:00
Merge branch 'feature/config_mqtt_task_prio' into 'master'
config: option to configure mqtt task priority See merge request espressif/esp-mqtt!61
This commit is contained in:
@ -27,7 +27,12 @@
|
|||||||
#define MQTT_MAX_PASSWORD_LEN 65
|
#define MQTT_MAX_PASSWORD_LEN 65
|
||||||
#define MQTT_MAX_LWT_TOPIC 32
|
#define MQTT_MAX_LWT_TOPIC 32
|
||||||
#define MQTT_MAX_LWT_MSG 128
|
#define MQTT_MAX_LWT_MSG 128
|
||||||
|
|
||||||
|
#if CONFIG_MQTT_TASK_PRIORITY
|
||||||
|
#define MQTT_TASK_PRIORITY CONFIG_MQTT_TASK_PRIORITY
|
||||||
|
#else
|
||||||
#define MQTT_TASK_PRIORITY 5
|
#define MQTT_TASK_PRIORITY 5
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CONFIG_MQTT_TASK_STACK_SIZE
|
#if CONFIG_MQTT_TASK_STACK_SIZE
|
||||||
#define MQTT_TASK_STACK CONFIG_MQTT_TASK_STACK_SIZE
|
#define MQTT_TASK_STACK CONFIG_MQTT_TASK_STACK_SIZE
|
||||||
|
Reference in New Issue
Block a user