I've written a simple queue demonstration sketch for freeRTOS (code is attached.
As is, things work as expected. If I uncomment line #24, then the
ReceiverTask wakes/runs twice for every one-time through
the SenderTask.
Is there some reason the vTaskDelay on line 24 is causing two writes
to the queue? Or is something else going on?
Thanks.
rtos.ino (1.18 KB)