1
0
forked from fsfw/fsfw

all context switches calls to TaskManagement.h now

This commit is contained in:
2020-02-28 22:55:25 +01:00
parent c93ee5c6cd
commit fa38a37604
6 changed files with 48 additions and 43 deletions

@ -65,7 +65,7 @@ ReturnValue_t MessageQueue::sendMessageFromMessageQueue(MessageQueueId_t sendTo,
result = xQueueSendFromISR(reinterpret_cast<void*>(sendTo),
reinterpret_cast<const void*>(message->getBuffer()), &xHigherPriorityTaskWoken);
if(xHigherPriorityTaskWoken == pdTRUE) {
requestContextSwitch(callContext);
TaskManagement::requestContextSwitch(callContext);
}
}
return handleSendResult(result, ignoreFault);