From 43eaeb8976258697cdc710fa344672c4e807e358 Mon Sep 17 00:00:00 2001 From: tony-josi-aws Date: Thu, 18 Apr 2024 11:56:01 +0530 Subject: [PATCH] Fix build with C90 --- include/task.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/task.h b/include/task.h index 08452a9b2..44ed62122 100644 --- a/include/task.h +++ b/include/task.h @@ -181,8 +181,9 @@ typedef struct xTASK_STATUS typedef enum { eAbortSleep = 0, /* A task has been made ready or a context switch pended since portSUPPRESS_TICKS_AND_SLEEP() was called - abort entering a sleep mode. */ - eStandardSleep, /* Enter a sleep mode that will not last any longer than the expected idle time. */ + eStandardSleep /* Enter a sleep mode that will not last any longer than the expected idle time. */ #if ( INCLUDE_vTaskSuspend == 1 ) + , eNoTasksWaitingTimeout /* No tasks are waiting for a timeout so it is safe to enter a sleep mode that can only be exited by an external interrupt. */ #endif /* INCLUDE_vTaskSuspend */ } eSleepModeStatus;