diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-08-24 05:17:58 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-08-24 05:17:58 +0000 |
commit | 019808ae3222f7dc718b8a66d999aabac9f633ee (patch) | |
tree | 072381f83d0966b48fb518505e693e326d9b72ce /M50530.c | |
parent | 86a3dd8e35847debfdce7c65e52b8ffd8913689a (diff) | |
download | lcd4linux-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 'M50530.c')
-rw-r--r-- | M50530.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: M50530.c,v 1.11 2003/08/16 07:31:35 reinelt Exp $ +/* $Id: M50530.c,v 1.12 2003/08/24 05:17:58 reinelt Exp $ * * driver for display modules based on the M50530 chip * @@ -20,6 +20,9 @@ * * * $Log: M50530.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 * @@ -180,7 +183,7 @@ int M5_init (LCD *Self) s=cfg_get("Size",NULL); if (s==NULL || *s=='\0') { - error ("M50530: no 'Size' entry in %s", cfg_file()); + error ("M50530: no 'Size' entry in %s", cfg_source()); return -1; } if (sscanf(s,"%dx%d",&cols,&rows)!=2 || rows<1 || cols<1) { @@ -194,7 +197,7 @@ int M5_init (LCD *Self) } else { gpos=strtol(s, &e, 0); if (*e!='\0' || gpos<0 || gpos>8) { - error ("M50530: bad GPOs '%s' in %s", s, cfg_file()); + error ("M50530: bad GPOs '%s' in %s", s, cfg_source()); return -1; } } |