LCD LIB
Fork of RA8875 by
Revision 92:ce1ab76e8614, committed 2015-02-01
- Comitter:
- WiredHome
- Date:
- Sun Feb 01 17:07:13 2015 +0000
- Parent:
- 91:ca5f829e6d27
- Child:
- 93:6fbc516de05e
- Commit message:
- Focus on some performance optimization. Cache the width/height so it does not contact the chip for every need.
Changed in this revision
RA8875.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RA8875.cpp Wed Jan 28 12:30:45 2015 +0000 +++ b/RA8875.cpp Sun Feb 01 17:07:13 2015 +0000 @@ -434,7 +434,7 @@ RetCode_t RA8875::WriteCommand(unsigned char command, unsigned int data) { #ifdef PERF_METRICS - if (commandsUsed[command] <= 65535) + if (commandsUsed[command] < 65535) commandsUsed[command]++; #endif _select(true);