diff options
author | mobyfab <mobyfab@free.fr> | 2012-10-06 14:37:13 +0200 |
---|---|---|
committer | mobyfab <mobyfab@free.fr> | 2012-10-06 14:37:13 +0200 |
commit | 52e9fb7d59d3019fe346e8cd65a6581238b51e2c (patch) | |
tree | 8e4e842f168cc137d5df9e65ea0913afbbde0f72 /drivers/gdisp/SSD1289/ssd1289_lld.c.h | |
parent | 142ee8f26dba68618743564ec34c01b6604b6b77 (diff) | |
parent | a6e7a35b39ba36488dd7bc0a08d32226168e8871 (diff) | |
download | uGFX-52e9fb7d59d3019fe346e8cd65a6581238b51e2c.tar.gz uGFX-52e9fb7d59d3019fe346e8cd65a6581238b51e2c.tar.bz2 uGFX-52e9fb7d59d3019fe346e8cd65a6581238b51e2c.zip |
Merge branch 'master' of https://github.com/Tectu/ChibiOS-GFX
Diffstat (limited to 'drivers/gdisp/SSD1289/ssd1289_lld.c.h')
-rw-r--r-- | drivers/gdisp/SSD1289/ssd1289_lld.c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/SSD1289/ssd1289_lld.c.h b/drivers/gdisp/SSD1289/ssd1289_lld.c.h index dceb8780..b9e4af6f 100644 --- a/drivers/gdisp/SSD1289/ssd1289_lld.c.h +++ b/drivers/gdisp/SSD1289/ssd1289_lld.c.h @@ -273,11 +273,11 @@ static void lld_lcdSetCursor(uint16_t x, uint16_t y) { lld_lcdWriteReg(0x004e, x & 0x00FF); lld_lcdWriteReg(0x004f, y & 0x01FF); break; - case GDISP_ROTATE_90: + case GDISP_ROTATE_270: lld_lcdWriteReg(0x004e, y & 0x00FF); lld_lcdWriteReg(0x004f, x & 0x01FF); break; - case GDISP_ROTATE_270: + case GDISP_ROTATE_90: lld_lcdWriteReg(0x004e, (SCREEN_WIDTH - y - 1) & 0x00FF); lld_lcdWriteReg(0x004f, (SCREEN_HEIGHT - x - 1) & 0x01FF); break; |