aboutsummaryrefslogtreecommitdiffstats
path: root/USBLCD.c
diff options
context:
space:
mode:
authorreinelt <>2002-08-19 09:11:34 +0000
committerreinelt <>2002-08-19 09:11:34 +0000
commit2c37b3bab5a0e765f9982827b8c8d2763ff6c599 (patch)
treef7ba5d02312a98563677175d21946b57bfc4b4b2 /USBLCD.c
parent2fa253477b2f12e033c7e337268ca1c4354a280a (diff)
downloadlcd4linux-2c37b3bab5a0e765f9982827b8c8d2763ff6c599.tar.gz
[lcd4linux @ 2002-08-19 09:11:34 by reinelt]
changed HD44780 to use generic bar functions
Diffstat (limited to 'USBLCD.c')
-rw-r--r--USBLCD.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/USBLCD.c b/USBLCD.c
index 2e1bf62..17eec79 100644
--- a/USBLCD.c
+++ b/USBLCD.c
@@ -1,4 +1,4 @@
-/* $Id: USBLCD.c,v 1.6 2002/08/19 07:52:19 reinelt Exp $
+/* $Id: USBLCD.c,v 1.7 2002/08/19 09:11:34 reinelt Exp $
*
* Driver for USBLCD ( see http://www.usblcd.de )
* This Driver is based on HD44780.c
@@ -22,6 +22,9 @@
*
*
* $Log: USBLCD.c,v $
+ * Revision 1.7 2002/08/19 09:11:34 reinelt
+ * changed HD44780 to use generic bar functions
+ *
* Revision 1.6 2002/08/19 07:52:19 reinelt
* corrected type declaration of (*defchar)()
*
@@ -175,7 +178,7 @@ static int USBLCD_open (void)
return 0;
}
-void USBLCD_define_char (int ascii, char *buffer)
+static void USBLCD_define_char (int ascii, char *buffer)
{
USBLCD_command (0x40|8*ascii);
USBLCD_write (buffer, 8);
@@ -281,7 +284,7 @@ int USBLCD_flush (void)
char *p;
int c, row, col;
- bar_process(&USBLCD_define_char);
+ bar_process(USBLCD_define_char);
for (row=0; row<Lcd.rows; row++) {
for (col=0; col<Lcd.cols; col++) {