From: richardbarry Date: Mon, 1 Jul 2013 09:05:15 +0000 (+0000) Subject: Add additional comment only. X-Git-Tag: V7.5.0~31 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=58e46ae26e0eb5e0635a318813ddff3ea1708f1f;p=freertos Add additional comment only. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1959 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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; }