freertos: silence the static analysis warning referencing the workitem
This commit is contained in:
parent
9b821ddd6b
commit
2e28ab29c7
|
@ -649,7 +649,7 @@ void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority )
|
|||
BaseType_t i;
|
||||
|
||||
if (xCoreID != tskNO_AFFINITY) {
|
||||
if ( curTCB->uxPriority < uxPriority ) {
|
||||
if ( curTCB->uxPriority < uxPriority ) { // NOLINT(clang-analyzer-core.NullDereference) IDF-685
|
||||
vPortYieldOtherCore( xCoreID );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue