From 58e46ae26e0eb5e0635a318813ddff3ea1708f1f Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 1 Jul 2013 09:05:15 +0000 Subject: [PATCH] Add additional comment only. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1959 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- 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; } -- 2.39.5