Forked para SNOCC
Fork of RA8875 by
Diff: RA8875.cpp
- Revision:
- 55:dfbabef7003e
- Parent:
- 54:e117ad10fba6
- Child:
- 56:7a85d226ad0d
diff -r e117ad10fba6 -r dfbabef7003e RA8875.cpp --- a/RA8875.cpp Sun Mar 23 17:35:14 2014 +0000 +++ b/RA8875.cpp Sun Mar 30 23:37:41 2014 +0000 @@ -361,7 +361,7 @@ dim_t RA8875::fontwidth(void) { if (font == NULL) - return (((ReadCommand(0x22) >> 2) & 0x3) + 1) * 16; + return (((ReadCommand(0x22) >> 2) & 0x3) + 1) * 8; else return font[1]; } @@ -618,7 +618,7 @@ } -RetCode_t RA8875::putp(color_t pixel) +RetCode_t RA8875::_putp(color_t pixel) { WriteDataW((pixel>>8) | (pixel<<8)); return noerror;