Browse Source

SSD1289 area filling fix

remotes/origin_old/ugfx_release_2.6
Joel Bodenmann 8 years ago
parent
commit
ebecc79807
  1. 2
      drivers/gdisp/SSD1289/gdisp_lld.c
  2. 1
      releases.txt

2
drivers/gdisp/SSD1289/gdisp_lld.c

@ -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;

1
releases.txt

@ -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 ***

Loading…
Cancel
Save