Browse Source

SSD1289 fix

remotes/origin_old/ugfx_release_2.6
Tectu 10 years ago
parent
commit
7d336b5e01
  1. 2
      drivers/gdisp/gdispSsd1289/gdisp_lld.c

2
drivers/gdisp/gdispSsd1289/gdisp_lld.c

@ -478,7 +478,7 @@ void GDISP_LLD(drawpixel)(coord_t x, coord_t y, color_t color) {
lld_lcdSetViewPort(x, lines > 0 ? (y+gap) : y, cx, abslines);
lld_lcdWriteStreamStart();
gap = cx*abslines;
for(i = 0; i < gap; i++) lld_lcdWriteData(color);
for(i = 0; i < gap; i++) lld_lcdWriteData(bgcolor);
lld_lcdWriteStreamStop();
lld_lcdResetViewPort();
}

Loading…
Cancel
Save