aboutsummaryrefslogtreecommitdiffstats
path: root/USBLCD.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-24 05:17:58 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-08-24 05:17:58 +0000
commit019808ae3222f7dc718b8a66d999aabac9f633ee (patch)
tree072381f83d0966b48fb518505e693e326d9b72ce /USBLCD.c
parent86a3dd8e35847debfdce7c65e52b8ffd8913689a (diff)
downloadlcd4linux-019808ae3222f7dc718b8a66d999aabac9f633ee.tar.gz
[lcd4linux @ 2003-08-24 05:17:58 by reinelt]
liblcd4linux patch from Patrick Schemitz git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@228 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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 c9a0986..a3871aa 100644
--- a/USBLCD.c
+++ b/USBLCD.c
@@ -1,4 +1,4 @@
-/* $Id: USBLCD.c,v 1.11 2003/08/16 07:31:35 reinelt Exp $
+/* $Id: USBLCD.c,v 1.12 2003/08/24 05:17:58 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.12 2003/08/24 05:17:58 reinelt
+ * liblcd4linux patch from Patrick Schemitz
+ *
* Revision 1.11 2003/08/16 07:31:35 reinelt
* double buffering in all drivers
*
@@ -221,7 +224,7 @@ int USBLCD_init (LCD *Self)
Port=NULL;
}
if ((port=cfg_get("Port",NULL))==NULL || *port=='\0') {
- error ("USBLCD: no 'Port' entry in %s", cfg_file());
+ error ("USBLCD: no 'Port' entry in %s", cfg_source());
return -1;
}
if (port[0]=='/') {
@@ -235,7 +238,7 @@ int USBLCD_init (LCD *Self)
s=cfg_get("Size",NULL);
if (s==NULL || *s=='\0') {
- error ("USBLCD: no 'Size' entry in %s", cfg_file());
+ error ("USBLCD: no 'Size' entry in %s", cfg_source());
return -1;
}
if (sscanf(s,"%dx%d",&cols,&rows)!=2 || rows<1 || cols<1) {