From 27b5383c1bcec9a8b45328bf051ee0624d0d1102 Mon Sep 17 00:00:00 2001 From: inmarket Date: Tue, 22 Oct 2013 15:52:31 +1000 Subject: Fix typos in drivers --- drivers/gdisp/ILI9481/gdisp_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gdisp/ILI9481/gdisp_lld.c') 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: -- cgit v1.2.3