diff options
author | reinelt <> | 2002-08-17 14:14:21 +0000 |
---|---|---|
committer | reinelt <> | 2002-08-17 14:14:21 +0000 |
commit | c83e3395fdfe759255c037109604463ef034bb15 (patch) | |
tree | fa96b475f95788769798d20b9434accce4d475df /HD44780.c | |
parent | 011dae42e1add1f09fafec9125077afd38a9a837 (diff) | |
download | lcd4linux-c83e3395fdfe759255c037109604463ef034bb15.tar.gz |
[lcd4linux @ 2002-08-17 14:14:21 by reinelt]
USBLCD fixes
Diffstat (limited to 'HD44780.c')
-rw-r--r-- | HD44780.c | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: HD44780.c,v 1.21 2002/04/30 07:20:15 reinelt Exp $ +/* $Id: HD44780.c,v 1.22 2002/08/17 14:14:21 reinelt Exp $ * * driver for display modules based on the HD44780 chip * @@ -20,6 +20,10 @@ * * * $Log: HD44780.c,v $ + * Revision 1.22 2002/08/17 14:14:21 reinelt + * + * USBLCD fixes + * * Revision 1.21 2002/04/30 07:20:15 reinelt * * implemented the new ndelay(nanoseconds) in all parallel port drivers @@ -349,7 +353,7 @@ static int HD_open (void) debug ("using ppdev %s", PPdev); PPfd=open(PPdev, O_RDWR); if (PPfd==-1) { - error ("open(%s) failed: %s", PPdev, strerror(errno)); + error ("HD44780: open(%s) failed: %s", PPdev, strerror(errno)); return -1; } @@ -362,7 +366,7 @@ static int HD_open (void) #endif if (ioctl(PPfd, PPCLAIM)) { - error ("ioctl(%s, PPCLAIM) failed: %d %s", PPdev, errno, strerror(errno)); + error ("HD44780: ioctl(%s, PPCLAIM) failed: %d %s", PPdev, errno, strerror(errno)); return -1; } } else @@ -790,10 +794,10 @@ int HD_quit (void) if (PPdev) { debug ("closing ppdev %s", PPdev); if (ioctl(PPfd, PPRELEASE)) { - error ("ioctl(%s, PPRELEASE) failed: %s", PPdev, strerror(errno)); + error ("HD44780: ioctl(%s, PPRELEASE) failed: %s", PPdev, strerror(errno)); } if (close(PPfd)==-1) { - error ("close(%s) failed: %s", PPdev, strerror(errno)); + error ("HD44780: close(%s) failed: %s", PPdev, strerror(errno)); return -1; } } else |