1
0
forked from fsfw/fsfw

removed context switch request

(shall be done at end of ISR, so must be performed by caller)
This commit is contained in:
2020-05-29 13:02:13 +02:00
parent da403c01d0
commit 78ae109a08
8 changed files with 17 additions and 25 deletions

View File

@ -124,7 +124,7 @@ ReturnValue_t MessageQueue::sendMessageFromMessageQueue(MessageQueueId_t sendTo,
bool ignoreFault, CallContext callContext) {
message->setSender(sentFrom);
BaseType_t result;
if(callContext == CallContext::task) {
if(callContext == CallContext::TASK) {
result = xQueueSendToBack(reinterpret_cast<QueueHandle_t>(sendTo),
static_cast<const void*>(message->getBuffer()), 0);
}