Browse Source

esp_mqtt: add option to configure mqtt task priority.

Merges https://github.com/espressif/esp-idf/pull/4947
Simon Brélivet 5 năm trước cách đây
mục cha
commit
d7310ae008

+ 7 - 0
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
             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
             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
     config MQTT_TASK_CORE_SELECTION_ENABLED
         bool "Enable MQTT task core selection"
         bool "Enable MQTT task core selection"
         default false
         default false

+ 1 - 1
components/mqtt/esp-mqtt

@@ -1 +1 @@
-Subproject commit 86fc8b7584f7f3aebf422843d84a26655e485fbe
+Subproject commit d8e20813326cb6c9fe0303fc5ba1813ccca53065