diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-22 07:57:45 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-01-22 07:57:45 +0000 |
commit | 4c88d373fbdae381318e6e5da9c88e5de98d7f7a (patch) | |
tree | 13a5b0ebc7c53e2f7214969f601e62161020a899 /drv_HD44780.c | |
parent | 157395d9d4247afc971477497dcc51ef5441e660 (diff) | |
download | lcd4linux-4c88d373fbdae381318e6e5da9c88e5de98d7f7a.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
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@334 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_HD44780.c')
-rw-r--r-- | drv_HD44780.c | 13 |
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) |