diff options
author | Sukhmani Minhas <50919130+sukhmanm@users.noreply.github.com> | 2020-12-14 22:10:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-14 19:10:03 -0800 |
commit | f4591cec0614b290d70118310fc65204e99c94d2 (patch) | |
tree | 2f09267baa926fbd4e4276e7819863abe230dcb5 | |
parent | b035e0321f2cd4cf03e56711e8cd86910abe2bbf (diff) | |
download | freertos-git-f4591cec0614b290d70118310fc65204e99c94d2.tar.gz |
Stack fix (#475)
-rw-r--r-- | FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_S3_Download_Multithreaded/DemoTasks/S3DownloadMultithreadedHTTPExample.c | 9 |
1 files 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 bd46dafbf..3d17440bd 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 ); |