Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

missing progmem conversion for philips

  • Loading branch information...
commit 42477d07e04aed23fcacefd3047fa61847b98be1 1 parent ef41a43
@digitalcardboard digitalcardboard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ColorLCDShield.cpp
View
2  ColorLCDShield.cpp
@@ -441,7 +441,7 @@ void LCDShield::setChar(char c, int x, int y, int fColor, int bColor)
pChar+=nBytes-1; // stick pChar at the end of the row - gonna reverse print on phillips
for (i = nRows - 1; i >= 0; i--) {
// copy pixel row from font table and then decrement row
- PixelRow = *pChar--;
+ PixelRow = pgm_read_byte(pChar--);
// loop on each pixel in the row (left to right)
// Note: we do two pixels each loop
Mask = 0x01; // <- opposite of epson
Please sign in to comment.
Something went wrong with that request. Please try again.