diff options
Diffstat (limited to 'drivers/gdisp')
-rw-r--r-- | drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c b/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c index 91f77351..c4543d45 100644 --- a/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c +++ b/drivers/gdisp/PCF8812/gdisp_lld_PCF8812.c @@ -144,7 +144,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) { break; case GDISP_ROTATE_90: x = g->p.y; - y = g->p.x; + y = (g->g.Width - g->p.x - 1); break; case GDISP_ROTATE_180: x = g->g.Width - g->p.x - 1; |