Skip to content

Commit

Permalink
Fix build with C90
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws committed Apr 18, 2024
1 parent f69b1db commit 43eaeb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/task.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 43eaeb8

Please sign in to comment.