diff options
author | reinelt <> | 2004-02-14 11:56:17 +0000 |
---|---|---|
committer | reinelt <> | 2004-02-14 11:56:17 +0000 |
commit | ec5b32b30499f5bdb44eeb3abc343dd4c9c2e507 (patch) | |
tree | a06f315366c4efeb59913dd0eb9cdd3fb929a7f7 /drv_generic_serial.c | |
parent | a974ffca9dd032244eb7fa3505ad0204cbafec99 (diff) | |
download | lcd4linux-ec5b32b30499f5bdb44eeb3abc343dd4c9c2e507.tar.gz |
[lcd4linux @ 2004-02-14 11:56:11 by reinelt]
M50530 driver ported
changed lots of 'char' to 'unsigned char'
Diffstat (limited to 'drv_generic_serial.c')
-rw-r--r-- | drv_generic_serial.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/drv_generic_serial.c b/drv_generic_serial.c index 56bbdb8..46c524d 100644 --- a/drv_generic_serial.c +++ b/drv_generic_serial.c @@ -1,4 +1,4 @@ -/* $Id: drv_generic_serial.c,v 1.5 2004/02/04 19:10:51 reinelt Exp $ +/* $Id: drv_generic_serial.c,v 1.6 2004/02/14 11:56:17 reinelt Exp $ * * generic driver helper for serial and usbserial displays * @@ -23,6 +23,10 @@ * * * $Log: drv_generic_serial.c,v $ + * Revision 1.6 2004/02/14 11:56:17 reinelt + * M50530 driver ported + * changed lots of 'char' to 'unsigned char' + * * Revision 1.5 2004/02/04 19:10:51 reinelt * Crystalfontz driver nearly finished * @@ -57,15 +61,15 @@ * int drv_generic_serial_open (char *driver, char *port, speed_t speed); * opens the serial port * - * int drv_generic_serial_poll (char *string, int len) + * int drv_generic_serial_poll (unsigned char *string, int len) * reads from the serial or USB port * without retry * - * int drv_generic_serial_read (char *string, int len); + * int drv_generic_serial_read (unsigned char *string, int len); * reads from the serial or USB port * with retry * - * void drv_generic_serial_write (char *string, int len); + * void drv_generic_serial_write (unsigned char *string, int len); * writes to the serial or USB port * * int drv_generic_serial_close (void); @@ -291,7 +295,7 @@ int drv_generic_serial_open (char *section, char *driver) } -int drv_generic_serial_poll (char *string, int len) +int drv_generic_serial_poll (unsigned char *string, int len) { int ret; if (Device==-1) return -1; @@ -303,7 +307,7 @@ int drv_generic_serial_poll (char *string, int len) } -int drv_generic_serial_read (char *string, int len) +int drv_generic_serial_read (unsigned char *string, int len) { int run, ret; @@ -322,7 +326,7 @@ int drv_generic_serial_read (char *string, int len) } -void drv_generic_serial_write (char *string, int len) +void drv_generic_serial_write (unsigned char *string, int len) { int run, ret; |