mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-19 14:54:28 +08:00
Stack fix (#475)
This commit is contained in:
@ -129,11 +129,6 @@
|
|||||||
#define democonfigRANGE_REQUEST_LENGTH ( 1024 )
|
#define democonfigRANGE_REQUEST_LENGTH ( 1024 )
|
||||||
#endif
|
#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.
|
* @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. */
|
/* Open request and response tasks. */
|
||||||
xDemoStatus = xTaskCreate( prvRequestTask,
|
xDemoStatus = xTaskCreate( prvRequestTask,
|
||||||
"RequestTask",
|
"RequestTask",
|
||||||
httpexampleTASK_STACK_SIZE,
|
democonfigDEMO_STACKSIZE,
|
||||||
NULL,
|
NULL,
|
||||||
tskIDLE_PRIORITY,
|
tskIDLE_PRIORITY,
|
||||||
&xRequestTask );
|
&xRequestTask );
|
||||||
|
|
||||||
xDemoStatus = xTaskCreate( prvResponseTask,
|
xDemoStatus = xTaskCreate( prvResponseTask,
|
||||||
"ResponseTask",
|
"ResponseTask",
|
||||||
httpexampleTASK_STACK_SIZE,
|
democonfigDEMO_STACKSIZE,
|
||||||
NULL,
|
NULL,
|
||||||
tskIDLE_PRIORITY,
|
tskIDLE_PRIORITY,
|
||||||
&xResponseTask );
|
&xResponseTask );
|
||||||
|
Reference in New Issue
Block a user