FreeRTOS - Interrupt Management
Identify the error in this ISR code snippet:
void ISR_Handler(void) {
BaseType_t higherPriorityTaskWoken = pdFALSE;
xSemaphoreGive(semaphore);
if (higherPriorityTaskWoken) {
portYIELD_FROM_ISR();
}
}What is the problem here?
