mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-28 12:57:52 +08:00
Clean up compiler warnings only.
This commit is contained in:
@ -130,6 +130,9 @@ static void prvCheckTask( void * pvParameters )
|
|||||||
portTickType xNextWakeTime, xPeriod = mainNO_ERROR_PERIOD;
|
portTickType xNextWakeTime, xPeriod = mainNO_ERROR_PERIOD;
|
||||||
static volatile unsigned portLONG ulErrorCode = 0UL;
|
static volatile unsigned portLONG ulErrorCode = 0UL;
|
||||||
|
|
||||||
|
/* Just to remove the compiler warning. */
|
||||||
|
( void ) pvParameters;
|
||||||
|
|
||||||
/* Initialise xNextWakeTime prior to its first use. From this point on
|
/* Initialise xNextWakeTime prior to its first use. From this point on
|
||||||
the value of the variable is handled automatically by the kernel. */
|
the value of the variable is handled automatically by the kernel. */
|
||||||
xNextWakeTime = xTaskGetTickCount();
|
xNextWakeTime = xTaskGetTickCount();
|
||||||
|
Reference in New Issue
Block a user