esp_mqtt: add option to configure mqtt task priority.

Merges https://github.com/espressif/esp-idf/pull/4947
This commit is contained in:
Simon Brélivet
2020-03-17 14:03:03 +01:00
committed by David Cermak
parent f7a2bfc873
commit c1cd396b95
2 changed files with 8 additions and 1 deletions

View File

@ -86,6 +86,13 @@ menu "ESP-MQTT Configurations"
Default config employs API locks to protect internal structures. It is possible to disable
these locks if the user code doesn't access MQTT API from multiple concurrent tasks
config MQTT_TASK_PRIORITY
int "MQTT task priority"
default 5
depends on MQTT_USE_CUSTOM_CONFIG
help
MQTT task priority. Higher number denotes higher priority.
config MQTT_TASK_CORE_SELECTION_ENABLED
bool "Enable MQTT task core selection"
default false