From 456d4d4a2015e00c688438490d80263685fb2f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Br=C3=A9livet?= Date: Tue, 17 Mar 2020 14:03:03 +0100 Subject: [PATCH] esp_mqtt: add option to configure mqtt task priority. Merges https://github.com/espressif/esp-idf/pull/4947 --- components/mqtt/Kconfig | 7 +++++++ components/mqtt/esp-mqtt | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/components/mqtt/Kconfig b/components/mqtt/Kconfig index ec05dc69f..e0d5f318b 100644 --- a/components/mqtt/Kconfig +++ b/components/mqtt/Kconfig @@ -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 diff --git a/components/mqtt/esp-mqtt b/components/mqtt/esp-mqtt index 8a1e1a5a9..d8e208133 160000 --- a/components/mqtt/esp-mqtt +++ b/components/mqtt/esp-mqtt @@ -1 +1 @@ -Subproject commit 8a1e1a5a9ffce89313aaa209375e1def893a4c73 +Subproject commit d8e20813326cb6c9fe0303fc5ba1813ccca53065