Interface for Sharp LS012B7DD01 TFT-LCD
Dependents: MAX32630FTHR_iButton_uSD_Logger
Revision 2:ccef06c5becf, committed 2016-11-22
- Comitter:
- j3
- Date:
- Tue Nov 22 20:49:39 2016 +0000
- Parent:
- 1:ea88fe2c73ed
- Commit message:
- removed extern ref to Serial term
Changed in this revision
Sharp_LS012B7DD01.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r ea88fe2c73ed -r ccef06c5becf Sharp_LS012B7DD01.cpp --- a/Sharp_LS012B7DD01.cpp Tue Nov 22 00:24:55 2016 +0000 +++ b/Sharp_LS012B7DD01.cpp Tue Nov 22 20:49:39 2016 +0000 @@ -25,8 +25,6 @@ #include "Sharp_LS012B7DD01.h" -extern Serial term; - //5x7 character bit map static const uint8_t font_5x7[95][6] = { {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, //SPACE @@ -214,7 +212,7 @@ size_t len = strlen(s); - if((ln < 4) && ((pos + len - 1) < 30)) + if((ln < 4) && ((pos + (len - 1)) < 30)) { for(size_t idx = 0; idx < len; idx++) {