Is there some function or other method in FreeRTOS that allows to determine if program is currently in interrupt or process context?
I want to implement a function that will use xQueueSend. But that function might be called both from process or interrupt and I would like to avoid creating another version of that function which will use xQueueSendFromISR.