mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Fix interrupting task on other CPU that has lower prio than current task on current CPU
This commit is contained in:
parent
c78aa138b0
commit
d07a149e2c
@ -632,7 +632,7 @@ static void prvAddNewTaskToReadyList( TCB_t *pxNewTCB, TaskFunction_t pxTaskCode
|
|||||||
*/
|
*/
|
||||||
void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority )
|
void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority )
|
||||||
{
|
{
|
||||||
TCB_t *curTCB = xTaskGetCurrentTaskHandle();
|
TCB_t *curTCB = pxCurrentTCB[xCoreID];
|
||||||
BaseType_t i;
|
BaseType_t i;
|
||||||
|
|
||||||
if (xCoreID != tskNO_AFFINITY) {
|
if (xCoreID != tskNO_AFFINITY) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user