From f4591cec0614b290d70118310fc65204e99c94d2 Mon Sep 17 00:00:00 2001 From: Sukhmani Minhas <50919130+sukhmanm@users.noreply.github.com> Date: Mon, 14 Dec 2020 22:10:03 -0500 Subject: [PATCH] Stack fix (#475) --- .../DemoTasks/S3DownloadMultithreadedHTTPExample.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Download_Multithreaded/DemoTasks/S3DownloadMultithreadedHTTPExample.c b/FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Download_Multithreaded/DemoTasks/S3DownloadMultithreadedHTTPExample.c index bd46dafbf3..3d17440bdd 100644 --- a/FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Download_Multithreaded/DemoTasks/S3DownloadMultithreadedHTTPExample.c +++ b/FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Download_Multithreaded/DemoTasks/S3DownloadMultithreadedHTTPExample.c @@ -129,11 +129,6 @@ #define democonfigRANGE_REQUEST_LENGTH ( 1024 ) #endif -/* Check that the stack size to use for HTTP tasks is defined. */ -#ifndef httpexampleTASK_STACK_SIZE - #define httpexampleTASK_STACK_SIZE ( configMINIMAL_STACK_SIZE * 4 ) -#endif - /** * @brief Length of the pre-signed GET URL defined in demo_config.h. */ @@ -577,14 +572,14 @@ static void prvHTTPDemoTask( void * pvParameters ) /* Open request and response tasks. */ xDemoStatus = xTaskCreate( prvRequestTask, "RequestTask", - httpexampleTASK_STACK_SIZE, + democonfigDEMO_STACKSIZE, NULL, tskIDLE_PRIORITY, &xRequestTask ); xDemoStatus = xTaskCreate( prvResponseTask, "ResponseTask", - httpexampleTASK_STACK_SIZE, + democonfigDEMO_STACKSIZE, NULL, tskIDLE_PRIORITY, &xResponseTask );