SSD1289 area filling fix

This commit is contained in:
Joel Bodenmann 2013-09-28 02:24:09 +02:00
parent 2a2e86917e
commit ebecc79807
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);
break;
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(0x46, (x+cx-1) & 0x01FF);
break;

View File

@ -12,6 +12,7 @@ FEATURE: mcufont integration
FEATURE: SSD1306 driver by user goeck
FEATURE: ST7565 driver by user sam0737
FEATURE: ED060SC4 driver by user jpa-
FIX: SSD1289 area filling bug fix by user samofab
*** changes after 1.7 ***