aboutsummaryrefslogtreecommitdiffstats
path: root/drv_LCDLinux.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-02-24 07:06:48 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-02-24 07:06:48 +0000
commitb8d041d37641f40b4a093fb0e712f6dbd12f662b (patch)
tree84dd4c1b0750ad3135abeef460bc10e0c9b77da5 /drv_LCDLinux.c
parent865a7df05b49209d0551a4df87fceba434d3cb2c (diff)
downloadlcd4linux-b8d041d37641f40b4a093fb0e712f6dbd12f662b.tar.gz
[lcd4linux @ 2005-02-24 07:06:45 by reinelt]
SimpleLCD driver added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@515 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_LCDLinux.c')
-rw-r--r--drv_LCDLinux.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drv_LCDLinux.c b/drv_LCDLinux.c
index cf83f9c..fd78ac0 100644
--- a/drv_LCDLinux.c
+++ b/drv_LCDLinux.c
@@ -1,4 +1,4 @@
-/* $Id: drv_LCDLinux.c,v 1.3 2005/02/24 06:51:40 reinelt Exp $
+/* $Id: drv_LCDLinux.c,v 1.4 2005/02/24 07:06:48 reinelt Exp $
*
* driver for the LCD-Linux HD44780 kernel driver
* http://lcd-linux.sourceforge.net
@@ -24,6 +24,9 @@
*
*
* $Log: drv_LCDLinux.c,v $
+ * Revision 1.4 2005/02/24 07:06:48 reinelt
+ * SimpleLCD driver added
+ *
* Revision 1.3 2005/02/24 06:51:40 reinelt
* LCD-Linux driver GOTO_COST corrected
*
@@ -149,7 +152,7 @@ static void drv_LL_defchar (const int ascii, const unsigned char *matrix)
}
-static int drv_LL_start (const char *section, const int quiet)
+static int drv_LL_start (const int quiet)
{
struct lcd_driver buf;
@@ -230,7 +233,7 @@ int drv_LL_init (const char *section, const int quiet)
YRES = 8; /* pixel height of one char */
CHARS = 8; /* number of user-defineable characters */
CHAR0 = 0; /* ASCII of first user-defineable char */
- GOTO_COST = 1; /* number of bytes a goto command requires */
+ GOTO_COST = -1; /* number of bytes a goto command requires */
/* real worker functions */
drv_generic_text_real_write = drv_LL_write;
@@ -238,7 +241,7 @@ int drv_LL_init (const char *section, const int quiet)
/* start display */
- if ((ret=drv_LL_start (section, quiet))!=0)
+ if ((ret=drv_LL_start (quiet))!=0)
return ret;
/* initialize generic text driver */