SSD1289 Area fill fix

This commit is contained in:
Joel Bodenmann 2013-09-28 02:24:09 +02:00 committed by inmarket
parent af81bdf755
commit 3b8f14e2c8
2 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,7 @@ static void set_viewport(coord_t x, coord_t y, coord_t cx, coord_t cy) {
write_reg(0x46, (y+cy-1) & 0x01FF); write_reg(0x46, (y+cy-1) & 0x01FF);
break; break;
case GDISP_ROTATE_270: case GDISP_ROTATE_270:
write_reg(0x44, (((x+cx-1) << 8) & 0xFF00 ) | (y & 0x00FF)); write_reg(0x44, (((y+cy-1) << 8) & 0xFF00 ) | (y & 0x00FF));
write_reg(0x45, x & 0x01FF); write_reg(0x45, x & 0x01FF);
write_reg(0x46, (x+cx-1) & 0x01FF); write_reg(0x46, (x+cx-1) & 0x01FF);
break; break;

View File

@ -12,6 +12,7 @@ FEATURE: mcufont integration
FEATURE: SSD1306 driver by user goeck FEATURE: SSD1306 driver by user goeck
FEATURE: ST7565 driver by user sam0737 FEATURE: ST7565 driver by user sam0737
FEATURE: ED060SC4 driver by user jpa- FEATURE: ED060SC4 driver by user jpa-
FIX: SSD1289 area filling bug fix by user samofab
FEATURE: GDISP Streaming FEATURE: GDISP Streaming
FEATURE: New driver interface for GDISP FEATURE: New driver interface for GDISP
FEATURE: Multiple display support FEATURE: Multiple display support