Closed KurtE closed 3 years ago
The code to check the clip rectangle was commented out.
There is a forum thread: https://forum.pjrc.com/threads/65791-Teensy4-0-ST7735-Freezing-when-using-frame-buffer?p=266280#post266280
Where the user was calling drawLine with two negative values and one of those values turned out to dall the pixel function with a bogus negative value, and as we did not check the bounds it wrote over something which crashed the sketch
The code to check the clip rectangle was commented out.
There is a forum thread: https://forum.pjrc.com/threads/65791-Teensy4-0-ST7735-Freezing-when-using-frame-buffer?p=266280#post266280
Where the user was calling drawLine with two negative values and one of those values turned out to dall the pixel function with a bogus negative value, and as we did not check the bounds it wrote over something which crashed the sketch