/*\r
- FreeRTOS V7.0.0 - Copyright (C) 2011 Real Time Engineers Ltd.\r
+ FreeRTOS V7.0.1 - Copyright (C) 2011 Real Time Engineers Ltd.\r
\r
\r
***************************************************************************\r
\r
pxOriginalTOS = pxTopOfStack;\r
\r
+ /* To ensure asserts in tasks.c don't fail, although in this case the assert\r
+ is not really required. */\r
+ pxTopOfStack--;\r
+\r
/* Setup the initial stack of the task. The stack is set exactly as\r
expected by the portRESTORE_CONTEXT() macro. */\r
\r