Code: Select all
xQueueSendFromISR(touchQueueStatic, &i, NULL);Code: Select all
xQueueSendFromISR(touchQueueStatic, &i, NULL);Sadly moving:
If any, you have a big-ass race condition where you initialize touchQueueStatic after you initialize the ISR and task that use it.
Code: Select all
touchQueueStatic = xQueueCreate(10, sizeof(int));