1 Commits
Author SHA1 Message Date
Kurt Eckhardt d2694821a3 Fix computation in scrollMargin
as per issue #62

The function does not work as the computation of middle was incorrect.
it either needed to be
 uint16_t middle = ILI9341_TFTHEIGHT - top - bottom;

or what I prefer and did:
uint16_t middle = ILI9341_TFTHEIGHT - (top + bottom);
2021-05-14 08:10:45 -07:00