Fork of David Smart's RA8875 library for the purpose of adding touch screen support
Fork of RA8875 by
Diff: RA8875.cpp
- Revision:
- 47:d96a09269f91
- Parent:
- 46:1321832f11d8
- Child:
- 49:c5182231d1b9
--- a/RA8875.cpp Thu Mar 13 17:24:45 2014 +0000 +++ b/RA8875.cpp Thu Mar 13 22:56:32 2014 +0000 @@ -461,7 +461,7 @@ loc_t y; y = ReadCommand(0x2C) | (ReadCommand(0x2D) << 8); // current y location y += fontheight(); - if (y >= height()) // @TODO after bottom of active window, then scroll window? #### hb changed test to include = to fix dropped line in vertical wrap. + if (y >= height()) // @TODO after bottom of active window, then scroll window? y = 0; WriteCommandW(0x2C, y); } else {