diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-06-02 10:09:22 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2004-06-02 10:09:22 +0000 |
commit | edad39d87fae7bb48e3e4e558be6805793ec80e9 (patch) | |
tree | 719b6f580ec0226cdda088625e96efecb93e78ef /drv.c | |
parent | 246b8539fe86f8e6636e18b65b70da3169dfabd6 (diff) | |
download | lcd4linux-edad39d87fae7bb48e3e4e558be6805793ec80e9.tar.gz |
[lcd4linux @ 2004-06-02 10:09:22 by reinelt]
splash screen for HD44780
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@462 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv.c')
-rw-r--r-- | drv.c | 45 |
1 files changed, 5 insertions, 40 deletions
@@ -1,4 +1,4 @@ -/* $Id: drv.c,v 1.16 2004/06/02 09:41:19 reinelt Exp $ +/* $Id: drv.c,v 1.17 2004/06/02 10:09:22 reinelt Exp $ * * new framework for display drivers * @@ -23,6 +23,10 @@ * * * $Log: drv.c,v $ + * Revision 1.17 2004/06/02 10:09:22 reinelt + * + * splash screen for HD44780 + * * Revision 1.16 2004/06/02 09:41:19 reinelt * * prepared support for startup splash screen @@ -207,45 +211,6 @@ DRIVER *Driver[] = { static DRIVER *Drv = NULL; -// Fixme -char* drv_hello (int line, int cols) -{ - int i; - static char *line1[] = { "* LCD4Linux " VERSION " *", - "LCD4Linux " VERSION, - "* LCD4Linux *", - "LCD4Linux", - "L4Linux", - NULL }; - - static char *line2[] = { "http://lcd4linux.sourceforge.net", - "lcd4linux.sourceforge.net", - "http://lcd4linux.sf.net", - "lcd4linux.sf.net", - NULL }; - - - switch (line) { - case 1: - for (i = 0; line1[i]; i++) { - if (strlen(line1[i]) <= cols) { - return line1[i]; - } - } - break; - case 2: - for (i = 0; line2[i]; i++) { - if (strlen(line2[i]) <= cols) { - return line2[i]; - } - } - break; - } - - return NULL; -} - - int drv_list (void) { int i; |