diff options
author | reinelt <> | 2005-12-12 05:52:03 +0000 |
---|---|---|
committer | reinelt <> | 2005-12-12 05:52:03 +0000 |
commit | ed398c799540d0bbe9f2eb0a92013e94f89bbf14 (patch) | |
tree | 1580a8595d184d842a9b66252ecf66927f800421 /drv_generic_parport.c | |
parent | 64b248c74b846b6b779cf82c008bb7cfa3f3018f (diff) | |
download | lcd4linux-ed398c799540d0bbe9f2eb0a92013e94f89bbf14.tar.gz |
[lcd4linux @ 2005-12-12 05:52:03 by reinelt]
type of delays is 'unsigned long'
Diffstat (limited to 'drv_generic_parport.c')
-rw-r--r-- | drv_generic_parport.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drv_generic_parport.c b/drv_generic_parport.c index 6d65a23..697634b 100644 --- a/drv_generic_parport.c +++ b/drv_generic_parport.c @@ -1,4 +1,4 @@ -/* $Id: drv_generic_parport.c,v 1.19 2005/06/19 17:57:06 reinelt Exp $ +/* $Id: drv_generic_parport.c,v 1.20 2005/12/12 05:52:03 reinelt Exp $ * * generic driver helper for serial and parport access * @@ -23,6 +23,9 @@ * * * $Log: drv_generic_parport.c,v $ + * Revision 1.20 2005/12/12 05:52:03 reinelt + * type of delays is 'unsigned long' + * * Revision 1.19 2005/06/19 17:57:06 reinelt * cosmetics... * @@ -210,7 +213,6 @@ int drv_generic_parport_open(const char *section, const char *driver) error("%s: open(%s) failed: %s", Driver, PPdev, strerror(errno)); return -1; } - #if 0 /* PPEXCL fails if someone else uses the port (e.g. lp.ko) */ if (ioctl(PPfd, PPEXCL)) { @@ -496,7 +498,7 @@ void drv_generic_parport_control(const unsigned char mask, const unsigned char v } -void drv_generic_parport_toggle(const unsigned char bits, const int level, const int delay) +void drv_generic_parport_toggle(const unsigned char bits, const int level, const unsigned long delay) { unsigned char value1, value2; |