From 6c5075bc99ba07f46562f7f10db14e153d7a93ec Mon Sep 17 00:00:00 2001 From: jhansen Date: Mon, 26 Apr 2010 21:49:44 +0000 Subject: git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@6 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/Source/d_display.r | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'AT91SAM7S256/Source/d_display.r') diff --git a/AT91SAM7S256/Source/d_display.r b/AT91SAM7S256/Source/d_display.r index e38bb45..81e7078 100644 --- a/AT91SAM7S256/Source/d_display.r +++ b/AT91SAM7S256/Source/d_display.r @@ -353,8 +353,8 @@ UBYTE DisplayUpdate(UWORD Height,UWORD Width,UBYTE *pImage) #endif -#define DISPLAYOn {\ - DisplayInitString[6] = 0x5A;\ +#define DISPLAYOn(c) {\ + DisplayInitString[6] = (c)&0x7F;\ DisplayInitString[13] = 0xAF;\ } -- cgit v1.2.3