diff options
author | reinelt <> | 2002-08-19 09:11:34 +0000 |
---|---|---|
committer | reinelt <> | 2002-08-19 09:11:34 +0000 |
commit | 2c37b3bab5a0e765f9982827b8c8d2763ff6c599 (patch) | |
tree | f7ba5d02312a98563677175d21946b57bfc4b4b2 /USBLCD.c | |
parent | 2fa253477b2f12e033c7e337268ca1c4354a280a (diff) | |
download | lcd4linux-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.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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++) { |