From 041754f25565a8247875bdf8a0a27b1579edffc4 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 11 Apr 2017 18:38:50 +0800 Subject: [PATCH] examples: increase stack size in http_request Previously the stack size was 2048 bytes, which caused stack overflow to be detected after one or two runs of the example. --- .../protocols/http_request/main/http_request_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/protocols/http_request/main/http_request_example_main.c b/examples/protocols/http_request/main/http_request_example_main.c index ebf7781548..be3bb9e364 100644 --- a/examples/protocols/http_request/main/http_request_example_main.c +++ b/examples/protocols/http_request/main/http_request_example_main.c @@ -176,5 +176,5 @@ void app_main() { ESP_ERROR_CHECK( nvs_flash_init() ); initialise_wifi(); - xTaskCreate(&http_get_task, "http_get_task", 2048, NULL, 5, NULL); + xTaskCreate(&http_get_task, "http_get_task", 4096, NULL, 5, NULL); } -- 2.40.0