aboutsummaryrefslogtreecommitdiffstats
path: root/USBLCD.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-10 03:48:23 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2003-09-10 03:48:23 +0000
commit525c17277ccccf4459be16018576b44e9e6a2a35 (patch)
tree8f61bced69808fea15902d45c7fe35f3625c1d9a /USBLCD.c
parentef5ef770de8b4b5d682d24efff30c6cc084d8cc4 (diff)
downloadlcd4linux-525c17277ccccf4459be16018576b44e9e6a2a35.tar.gz
[lcd4linux @ 2003-09-10 03:48:22 by reinelt]
Icons for M50530, new processing scheme (Ticks.Text...) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@235 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'USBLCD.c')
-rw-r--r--USBLCD.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/USBLCD.c b/USBLCD.c
index 60c689f..55917c4 100644
--- a/USBLCD.c
+++ b/USBLCD.c
@@ -1,4 +1,4 @@
-/* $Id: USBLCD.c,v 1.15 2003/09/09 11:47:47 reinelt Exp $
+/* $Id: USBLCD.c,v 1.16 2003/09/10 03:48:23 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.16 2003/09/10 03:48:23 reinelt
+ * Icons for M50530, new processing scheme (Ticks.Text...)
+ *
* Revision 1.15 2003/09/09 11:47:47 reinelt
* basic icon support for HD44780
*
@@ -281,7 +284,7 @@ int USBLCD_init (LCD *Self)
if (USBLCD_open()!=0)
return -1;
- if (cfg_number("Icons", 0, 0, 8, &Icons)<0) return -1;
+ if (cfg_number("Icons", 0, 0, CHARS, &Icons)<0) return -1;
if (Icons>0) {
info ("reserving %d of %d user-defined characters for icons", Icons, CHARS);
icon_init(Lcd.rows, Lcd.cols, XRES, YRES, CHARS, Icons, USBLCD_define_char);