aboutsummaryrefslogtreecommitdiffstats
path: root/drv_USBLCD.c
diff options
context:
space:
mode:
authorreinelt <>2004-06-19 08:20:19 +0000
committerreinelt <>2004-06-19 08:20:19 +0000
commit4f15e68bb72bea1ad96689c49ff65228ee677346 (patch)
treea517ef9207efcc3af7b65b1f98566ebce3e7336c /drv_USBLCD.c
parente2fbd653b47bcd69d8adf571374af8eb923ea6eb (diff)
downloadlcd4linux-4f15e68bb72bea1ad96689c49ff65228ee677346.tar.gz
[lcd4linux @ 2004-06-19 08:20:19 by reinelt]
compiler warning in image driver fixed bar bug in USBLCD driver fixed
Diffstat (limited to 'drv_USBLCD.c')
-rw-r--r--drv_USBLCD.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drv_USBLCD.c b/drv_USBLCD.c
index ec4d39d..52355b6 100644
--- a/drv_USBLCD.c
+++ b/drv_USBLCD.c
@@ -1,4 +1,4 @@
-/* $Id: drv_USBLCD.c,v 1.10 2004/06/06 06:51:59 reinelt Exp $
+/* $Id: drv_USBLCD.c,v 1.11 2004/06/19 08:20:19 reinelt Exp $
*
* new style driver for USBLCD displays
*
@@ -26,6 +26,11 @@
*
*
* $Log: drv_USBLCD.c,v $
+ * Revision 1.11 2004/06/19 08:20:19 reinelt
+ *
+ * compiler warning in image driver fixed
+ * bar bug in USBLCD driver fixed
+ *
* Revision 1.10 2004/06/06 06:51:59 reinelt
*
* do not display end splash screen if quiet=1
@@ -178,7 +183,7 @@ static void drv_UL_defchar (int ascii, unsigned char *matrix)
drv_UL_command (0x40|8*ascii);
for (i = 0; i < 8; i++) {
- if(*matrix == 0) *BufPtr++ = 0;
+ if ((*matrix & 0x1f) == 0) *BufPtr++ = 0;
*BufPtr++ = *matrix++ & 0x1f;
}