aboutsummaryrefslogtreecommitdiffstats
path: root/drv_HD44780.c
diff options
context:
space:
mode:
authorreinelt <>2004-01-22 07:57:45 +0000
committerreinelt <>2004-01-22 07:57:45 +0000
commitecaaaf0860a2df36c6d39ee4dd2b121e7e1a6c5a (patch)
tree13a5b0ebc7c53e2f7214969f601e62161020a899 /drv_HD44780.c
parent7c735f931f35ab3f94075cd57af42ad73eb5f72e (diff)
downloadlcd4linux-ecaaaf0860a2df36c6d39ee4dd2b121e7e1a6c5a.tar.gz
[lcd4linux @ 2004-01-22 07:57:45 by reinelt]
several bugs fixed where segfaulting on layout>display Crystalfontz driver optimized, 632 display already works
Diffstat (limited to 'drv_HD44780.c')
-rw-r--r--drv_HD44780.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/drv_HD44780.c b/drv_HD44780.c
index 8432057..3201a55 100644
--- a/drv_HD44780.c
+++ b/drv_HD44780.c
@@ -1,4 +1,4 @@
-/* $Id: drv_HD44780.c,v 1.2 2004/01/21 06:39:27 reinelt Exp $
+/* $Id: drv_HD44780.c,v 1.3 2004/01/22 07:57:45 reinelt Exp $
*
* new style driver for HD44780-based displays
*
@@ -29,6 +29,10 @@
*
*
* $Log: drv_HD44780.c,v $
+ * Revision 1.3 2004/01/22 07:57:45 reinelt
+ * several bugs fixed where segfaulting on layout>display
+ * Crystalfontz driver optimized, 632 display already works
+ *
* Revision 1.2 2004/01/21 06:39:27 reinelt
* HD44780 missed the "clear display' sequence
* asc255bug handling added
@@ -434,9 +438,10 @@ int drv_HD_init (char *section)
int asc255bug;
int ret;
- XRES=5;
- YRES=8;
- CHARS=8;
+ XRES=5; // pixel width of one char
+ YRES=8; // pixel height of one char
+ CHARS=8; // number of user-defineable chars
+ CHAR0=0; // ascii of first user-defineable chars
// start display
if ((ret=drv_HD_start (section))!=0)