Driver fix

ugfx_release_2.6
inmarket 2014-02-16 17:20:31 +10:00
parent 5edf7c956e
commit 23bb9e659a
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
switch((orientation_t)g->p.ptr) {
case GDISP_ROTATE_0:
acquire_bus(g);
write_reg(g, 0x36, 0x00); /* X and Y axes non-inverted */
write_reg(g, 0x36, 0x48); /* X and Y axes non-inverted */
release_bus(g);
g->g.Height = GDISP_SCREEN_HEIGHT;
g->g.Width = GDISP_SCREEN_WIDTH;