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_MatrixOrbital.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_MatrixOrbital.c')
-rw-r--r-- | drv_MatrixOrbital.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/drv_MatrixOrbital.c b/drv_MatrixOrbital.c index 3a20bfb..d7adab1 100644 --- a/drv_MatrixOrbital.c +++ b/drv_MatrixOrbital.c @@ -1,4 +1,4 @@ -/* $Id: drv_MatrixOrbital.c,v 1.15 2004/01/21 12:36:19 reinelt Exp $ +/* $Id: drv_MatrixOrbital.c,v 1.16 2004/01/22 07:57:45 reinelt Exp $ * * new style driver for Matrix Orbital serial display modules * @@ -23,6 +23,10 @@ * * * $Log: drv_MatrixOrbital.c,v $ + * Revision 1.16 2004/01/22 07:57:45 reinelt + * several bugs fixed where segfaulting on layout>display + * Crystalfontz driver optimized, 632 display already works + * * Revision 1.15 2004/01/21 12:36:19 reinelt * Crystalfontz NextGeneration driver added * @@ -448,9 +452,10 @@ int drv_MO_init (char *section) WIDGET_CLASS wc; 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_MO_start (section))!=0) |