Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Adafruit_GFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ void Adafruit_GFX::image(PImage & img, uint16_t x, uint16_t y) {

// Convert pixel from BMP to TFT format, push to display
b = sdbuffer[buffidx++];
g = sdbuffer[buffidx++];
g = sdbuffer[buffidx++];// out of bound condition can be attached
r = sdbuffer[buffidx++];
//pushColor(tft.Color565(r,g,b));
drawPixel(x + col, y + row, newColor(r, g, b));
Expand All @@ -668,4 +668,4 @@ void Adafruit_GFX::image(PImage & img, uint16_t x, uint16_t y) {

}

#endif
#endif