On a interrupt routine I’ve placed the following code:
msg = CANOPEN_NEW_RX_MESSAGE;
xQueueSendToBackFromISR ( CANopenQueue_handle, &msg, &xHigherPriorityTaskWoken );
portEND_SWITCHING_ISR ( xHigherPriorityTaskWoken );
the task that is performing a:
xQueueReceive ( CANopenQueue_handle, &msg, …
no longer seems to run.
If I don’t use portEND_SWITCHING_ISR then all is well.