Fix interrupting task on other CPU that has lower prio than current task on current CPU

pull/335/head
Jeroen Domburg 2017-01-27 17:17:05 +08:00
rodzic c78aa138b0
commit d07a149e2c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -632,7 +632,7 @@ static void prvAddNewTaskToReadyList( TCB_t *pxNewTCB, TaskFunction_t pxTaskCode
*/
void taskYIELD_OTHER_CORE( BaseType_t xCoreID, UBaseType_t uxPriority )
{
TCB_t *curTCB = xTaskGetCurrentTaskHandle();
TCB_t *curTCB = pxCurrentTCB[xCoreID];
BaseType_t i;
if (xCoreID != tskNO_AFFINITY) {