From 7025d927cace6ac9f1c47c2461498e5682f75bda Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Mon, 10 Sep 2012 20:38:54 +1000 Subject: Clip Boundary Conditions & Nokia6610 Fixes Clipping Boundary Conditions are now fixed. Nokia6610 Driver now works properly, also supports setting LCD contrast. --- drivers/gdisp/TestStub/gdisp_lld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gdisp/TestStub/gdisp_lld.c') diff --git a/drivers/gdisp/TestStub/gdisp_lld.c b/drivers/gdisp/TestStub/gdisp_lld.c index 1999d4ec..907cbb46 100644 --- a/drivers/gdisp/TestStub/gdisp_lld.c +++ b/drivers/gdisp/TestStub/gdisp_lld.c @@ -57,8 +57,8 @@ bool_t GDISP_LLD(init)(void) { #if GDISP_NEED_VALIDATION || GDISP_NEED_CLIP GDISP.clipx0 = 0; GDISP.clipy0 = 0; - GDISP.clipx1 = GDISP.Width-1; - GDISP.clipy1 = GDISP.Height-1; + GDISP.clipx1 = GDISP.Width; + GDISP.clipy1 = GDISP.Height; #endif return TRUE; } -- cgit v1.2.3