Skip to content

Commit c6487d9

Browse files
Fix build with C90 (#1036)
* Fix build with C90 * Fix formatting
1 parent f69b1db commit c6487d9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/task.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,10 @@ typedef struct xTASK_STATUS
180180
/* Possible return values for eTaskConfirmSleepModeStatus(). */
181181
typedef enum
182182
{
183-
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. */
184-
eStandardSleep, /* Enter a sleep mode that will not last any longer than the expected idle time. */
183+
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. */
184+
eStandardSleep /* Enter a sleep mode that will not last any longer than the expected idle time. */
185185
#if ( INCLUDE_vTaskSuspend == 1 )
186+
,
186187
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. */
187188
#endif /* INCLUDE_vTaskSuspend */
188189
} eSleepModeStatus;

0 commit comments

Comments
 (0)