I had this on an ESP32 once. Turned out spitting out serial console debug messages slowed things down enough to resolve a race condition when I tried to see what was happening. I learned more about using an actual debugger after that instead of spitting out “here” messages and variable values.
I had this on an ESP32 once. Turned out spitting out serial console debug messages slowed things down enough to resolve a race condition when I tried to see what was happening. I learned more about using an actual debugger after that instead of spitting out “here” messages and variable values.