mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 15:15:02 +00:00
change(components/esp_http_server): add task_caps configuration
The HTTP server is not a critical component, it would be nice if we can control the task caps by using configuration. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
This commit is contained in:

committed by
Harshit Malpani

parent
1b822573b6
commit
af79fe0495
@@ -519,7 +519,8 @@ esp_err_t httpd_start(httpd_handle_t *handle, const httpd_config_t *config)
|
||||
hd->config.stack_size,
|
||||
hd->config.task_priority,
|
||||
httpd_thread, hd,
|
||||
hd->config.core_id) != ESP_OK) {
|
||||
hd->config.core_id,
|
||||
hd->config.task_caps) != ESP_OK) {
|
||||
/* Failed to launch task */
|
||||
httpd_delete(hd);
|
||||
return ESP_ERR_HTTPD_TASK;
|
||||
|
Reference in New Issue
Block a user