From edad39d87fae7bb48e3e4e558be6805793ec80e9 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 2 Jun 2004 10:09:22 +0000 Subject: [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 --- drv.c | 45 +++++---------------------------------------- 1 file changed, 5 insertions(+), 40 deletions(-) (limited to 'drv.c') diff --git a/drv.c b/drv.c index 9fc724a..cccfbde 100644 --- a/drv.c +++ b/drv.c @@ -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; -- cgit v1.2.3