Puzzled on this one. I created a struct for SPI transactions that includes a ring buffer. I have vars that tell me if the buffer is full or empty and in my code there's a section where I wait until there's something in the buffer to read.
I'm hitting a case where there's 10 bytes or so in the buffer and 'is_empty' is clear but the execution stops in this place anyway.
(See diagram... execution nevers hits breakpoint and instead is stuck at the yellow line)
Anything I'm missing here?