FreeRTOS - Interrupt Management
Examine the following ISR code snippet for deferring processing using a queue:
void ISR_Handler(void) {
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xQueueSendFromISR(queueHandle, &data, &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
}What is the main issue with this code?