Code: Select all
xQueueSendFromISR(touchQueueStatic, &i, NULL);
Code: Select all
xQueueSendFromISR(touchQueueStatic, &i, NULL);
Sadly moving:ESP_Sprite wrote: ↑Sat Feb 29, 2020 9:50 am
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));