aboutsummaryrefslogtreecommitdiffstats
path: root/MatrixOrbital.c
diff options
context:
space:
mode:
authorreinelt <>2003-08-24 05:17:58 +0000
committerreinelt <>2003-08-24 05:17:58 +0000
commite349ac4e73b4916c766721f22b1fbb667d25d0be (patch)
tree072381f83d0966b48fb518505e693e326d9b72ce /MatrixOrbital.c
parentd36f45332730bf7055a51d940a6db816b29489ba (diff)
downloadlcd4linux-e349ac4e73b4916c766721f22b1fbb667d25d0be.tar.gz
[lcd4linux @ 2003-08-24 05:17:58 by reinelt]
liblcd4linux patch from Patrick Schemitz
Diffstat (limited to 'MatrixOrbital.c')
-rw-r--r--MatrixOrbital.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/MatrixOrbital.c b/MatrixOrbital.c
index 6848a7e..f392db0 100644
--- a/MatrixOrbital.c
+++ b/MatrixOrbital.c
@@ -1,4 +1,4 @@
-/* $Id: MatrixOrbital.c,v 1.33 2003/08/24 04:31:56 reinelt Exp $
+/* $Id: MatrixOrbital.c,v 1.34 2003/08/24 05:17:58 reinelt Exp $
*
* driver for Matrix Orbital serial display modules
*
@@ -20,6 +20,9 @@
*
*
* $Log: MatrixOrbital.c,v $
+ * Revision 1.34 2003/08/24 05:17:58 reinelt
+ * liblcd4linux patch from Patrick Schemitz
+ *
* Revision 1.33 2003/08/24 04:31:56 reinelt
* icon.c icon.h added
*
@@ -326,7 +329,7 @@ static int MO_init (LCD *Self, int protocol)
port=cfg_get ("Port",NULL);
if (port==NULL || *port=='\0') {
- error ("MatrixOrbital: no 'Port' entry in %s", cfg_file());
+ error ("MatrixOrbital: no 'Port' entry in %s", cfg_source());
return -1;
}
Port=strdup(port);
@@ -347,7 +350,7 @@ static int MO_init (LCD *Self, int protocol)
Speed=B19200;
break;
default:
- error ("MatrixOrbital: unsupported speed '%s' in %s", s, cfg_file());
+ error ("MatrixOrbital: unsupported speed '%s' in %s", s, cfg_source());
return -1;
}
@@ -360,7 +363,7 @@ static int MO_init (LCD *Self, int protocol)
Icons=strtol(s, &e, 0);
if (*e!='\0' || Icons<0 || Icons>8) {
debug ("Icons=%d e=<%s>", Icons, e);
- error ("MatrixOrbital: bad Icons '%s' in %s, must be between 0 and 8", s, cfg_file());
+ error ("MatrixOrbital: bad Icons '%s' in %s, must be between 0 and 8", s, cfg_source());
return -1;
}
if (Icons>0) {