Skip to content

Commit

Permalink
Fixing more extra-semi-stmt clang warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
phelter committed Nov 2, 2022
1 parent 5a1dd35 commit 203c81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@
/* A port optimised version is provided, call it only if the TCB being reset
* is being referenced from a ready list. If it is referenced from a delayed
* or suspended list then it won't be in a ready list. */
#define taskRESET_READY_PRIORITY( uxPriority ) \
{ \
#define taskRESET_READY_PRIORITY( uxPriority ) \
do { \
if( listCURRENT_LIST_LENGTH( &( pxReadyTasksLists[ ( uxPriority ) ] ) ) == ( UBaseType_t ) 0 ) \
{ \
portRESET_READY_PRIORITY( ( uxPriority ), ( uxTopReadyPriority ) ); \
} \
}
} while(0)

#endif /* configUSE_PORT_OPTIMISED_TASK_SELECTION */

Expand Down

0 comments on commit 203c81c

Please sign in to comment.