diff options
Diffstat (limited to 'drivers/gdisp/ILI9325/gdisp_lld.c')
-rw-r--r-- | drivers/gdisp/ILI9325/gdisp_lld.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gdisp/ILI9325/gdisp_lld.c b/drivers/gdisp/ILI9325/gdisp_lld.c index 6bb649b1..75b4cd13 100644 --- a/drivers/gdisp/ILI9325/gdisp_lld.c +++ b/drivers/gdisp/ILI9325/gdisp_lld.c @@ -346,7 +346,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) { return; } - g->g.Orientation = (orientation_t)value; + g->g.Orientation = (orientation_t)g->p.ptr; return; case GDISP_CONTROL_BACKLIGHT: @@ -360,7 +360,6 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) { return; } } - #endif #endif /* GFX_USE_GDISP */ |