From 877ce218a4b38833c031f2def4539f487c426c0e Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Mon, 1 Jul 2013 09:05:15 +0000 Subject: [PATCH] Add additional comment only. --- FreeRTOS/Source/tasks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FreeRTOS/Source/tasks.c b/FreeRTOS/Source/tasks.c index 6bdf13c4f..0dcb621b1 100644 --- a/FreeRTOS/Source/tasks.c +++ b/FreeRTOS/Source/tasks.c @@ -1606,6 +1606,9 @@ implementations require configUSE_TICKLESS_IDLE to be set to a value other than void vTaskStepTick( portTickType xTicksToJump ) { + /* Correct the tick count value after a period during which the tick + was suppressed. Note this does *not* call the tick hook function for + each stepped tick. */ configASSERT( ( xTickCount + xTicksToJump ) <= xNextTaskUnblockTime ); xTickCount += xTicksToJump; }