diff options
Diffstat (limited to 'drivers/gdisp/ILI9481')
-rw-r--r-- | drivers/gdisp/ILI9481/gdisp_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gdisp/ILI9481/gdisp_lld.c b/drivers/gdisp/ILI9481/gdisp_lld.c index 5af12986..49e28b23 100644 --- a/drivers/gdisp/ILI9481/gdisp_lld.c +++ b/drivers/gdisp/ILI9481/gdisp_lld.c @@ -311,7 +311,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) { default: return; } - g->g.Orientation = (orientation_t)value; + g->g.Orientation = (orientation_t)g->p.ptr; return; //case GDISP_CONTROL_BACKLIGHT: //case GDISP_CONTROL_CONTRAST: |