aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/HX8347D
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-10-22 15:52:31 +1000
committerinmarket <andrewh@inmarket.com.au>2013-10-22 15:52:31 +1000
commit27b5383c1bcec9a8b45328bf051ee0624d0d1102 (patch)
tree66a35bb061c94eeb31df43c396e0916669219cdd /drivers/gdisp/HX8347D
parent22b59b8b4f50fb543770e68f70f2d9dbe48d7221 (diff)
downloaduGFX-27b5383c1bcec9a8b45328bf051ee0624d0d1102.tar.gz
uGFX-27b5383c1bcec9a8b45328bf051ee0624d0d1102.tar.bz2
uGFX-27b5383c1bcec9a8b45328bf051ee0624d0d1102.zip
Fix typos in drivers
Diffstat (limited to 'drivers/gdisp/HX8347D')
-rw-r--r--drivers/gdisp/HX8347D/gdisp_lld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gdisp/HX8347D/gdisp_lld.c b/drivers/gdisp/HX8347D/gdisp_lld.c
index 3851c8e1..ab976db0 100644
--- a/drivers/gdisp/HX8347D/gdisp_lld.c
+++ b/drivers/gdisp/HX8347D/gdisp_lld.c
@@ -217,8 +217,9 @@ 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:
if ((unsigned)g->p.ptr > 100)
g->p.ptr = (void *)100;