andysworkshop / xmemtft

Arduino Mega TFT library
Apache License 2.0
37 stars 15 forks source link

Graphics library rectangle demo bug #1

Closed andysworkshop closed 11 years ago

andysworkshop commented 11 years ago

There's a small bug in the rectangle demo of the graphics library. Click to see an example

The highlighted line should obviously read:

rc.Y=(rand() % tft->getYmax()/2);

The impact appears to be minor but some panels may hang when addressed beyond their supported range.

andysworkshop commented 11 years ago

Fixed in master on commit ce4793f922f759950784019e107549a69a28a28b