xQueueSendFromISR使用
建议: 在99%的应用中,应该始终使用标准模式:
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xQueueSendFromISR(..., &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
建议: 在99%的应用中,应该始终使用标准模式:
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
xQueueSendFromISR(..., &xHigherPriorityTaskWoken);
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);