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>
pull/972/head^2
bradleysmith23 1 year ago committed by GitHub
parent 1c35cb3bc9
commit c19b13cdfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save