From 1057a2760200c260cce185dec248edbb0f3b043e Mon Sep 17 00:00:00 2001 From: Chris Idema Date: Fri, 31 Jul 2026 16:19:17 +0200 Subject: [PATCH] renamed xFrequency to xPeriod in code example in comment --- include/task.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/task.h b/include/task.h index 679b6fceae..9f81f92ef3 100644 --- a/include/task.h +++ b/include/task.h @@ -941,7 +941,7 @@ void vTaskDelay( const TickType_t xTicksToDelay ) PRIVILEGED_FUNCTION; * void vTaskFunction( void * pvParameters ) * { * TickType_t xLastWakeTime; - * const TickType_t xFrequency = 10; + * const TickType_t xPeriod = 10; * BaseType_t xWasDelayed; * * // Initialise the xLastWakeTime variable with the current time. @@ -949,7 +949,7 @@ void vTaskDelay( const TickType_t xTicksToDelay ) PRIVILEGED_FUNCTION; * for( ;; ) * { * // Wait for the next cycle. - * xWasDelayed = xTaskDelayUntil( &xLastWakeTime, xFrequency ); + * xWasDelayed = xTaskDelayUntil( &xLastWakeTime, xPeriod ); * * // Perform action here. xWasDelayed value can be used to determine * // whether a deadline was missed if the code here took too long.