diff --git a/tasks.c b/tasks.c index 1c53dba79..6b594dd3c 100644 --- a/tasks.c +++ b/tasks.c @@ -4771,6 +4771,7 @@ BaseType_t xTaskIncrementTick( void ) * the first task is created and therefore pxDelayedTaskList is * still not set */ configASSERT( pxDelayedTaskList != NULL ); + if( listLIST_IS_EMPTY( pxDelayedTaskList ) != pdFALSE ) { /* The delayed list is empty. Set xNextTaskUnblockTime