Skip to content

Commit 8b2a1b8

Browse files
authored
Fix C90 Compilation Failure (#359)
This issue was reported here: #358 Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
1 parent 4e3bf0f commit 8b2a1b8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

event_groups.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,10 +627,12 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup,
627627

628628
void vEventGroupDelete( EventGroupHandle_t xEventGroup )
629629
{
630-
configASSERT( xEventGroup );
631-
632630
EventGroup_t * pxEventBits = xEventGroup;
633-
const List_t * pxTasksWaitingForBits = &( pxEventBits->xTasksWaitingForBits );
631+
const List_t * pxTasksWaitingForBits;
632+
633+
configASSERT( pxEventBits );
634+
635+
pxTasksWaitingForBits = &( pxEventBits->xTasksWaitingForBits );
634636

635637
vTaskSuspendAll();
636638
{

0 commit comments

Comments
 (0)