mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-15 06:18:36 +00:00
Don't delete work queue task when local_ctrl fails to start
this vTaskDelete statement was probably missed when the work queue has
been restructured and extracted in a separate component.
See commit: 31d4b375e3
This commit is contained in:
@@ -282,7 +282,7 @@ static void esp_rmaker_task(void *data)
|
||||
#ifdef CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE
|
||||
if (esp_rmaker_start_local_ctrl_service(esp_rmaker_get_node_id()) != ESP_OK) {
|
||||
ESP_LOGE(TAG, "Failed to start local control service. Aborting!!!");
|
||||
vTaskDelete(NULL);
|
||||
goto rmaker_err;
|
||||
}
|
||||
#endif /* CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE */
|
||||
err = esp_rmaker_mqtt_connect();
|
||||
|
||||
Reference in New Issue
Block a user