mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Fix MISRA C 2012 Rule 14.4 Violations. (#975)
* Fix MISRA rule 14.4 violations. * Use pdFALSE instead of 0 in comparison Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com> * Uncrustify: triggered by comment. * Run Github Actions. --------- Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
This commit is contained in:
parent
1c35cb3bc9
commit
c19b13cdfc
2
tasks.c
2
tasks.c
|
@ -180,7 +180,7 @@
|
||||||
UBaseType_t uxTopPriority = uxTopReadyPriority; \
|
UBaseType_t uxTopPriority = uxTopReadyPriority; \
|
||||||
\
|
\
|
||||||
/* Find the highest priority queue that contains ready tasks. */ \
|
/* Find the highest priority queue that contains ready tasks. */ \
|
||||||
while( listLIST_IS_EMPTY( &( pxReadyTasksLists[ uxTopPriority ] ) ) ) \
|
while( listLIST_IS_EMPTY( &( pxReadyTasksLists[ uxTopPriority ] ) ) != pdFALSE ) \
|
||||||
{ \
|
{ \
|
||||||
configASSERT( uxTopPriority ); \
|
configASSERT( uxTopPriority ); \
|
||||||
--uxTopPriority; \
|
--uxTopPriority; \
|
||||||
|
|
Loading…
Reference in a new issue