aboutsummaryrefslogtreecommitdiffstats
path: root/MatrixOrbital.c
diff options
context:
space:
mode:
authorreinelt <>2003-09-10 03:48:23 +0000
committerreinelt <>2003-09-10 03:48:23 +0000
commit5f008ad8827a4f00f11e4ec79c211b15b6af7c75 (patch)
tree8f61bced69808fea15902d45c7fe35f3625c1d9a /MatrixOrbital.c
parent180ab0b55a1cafe94cd17015402490821c448290 (diff)
downloadlcd4linux-5f008ad8827a4f00f11e4ec79c211b15b6af7c75.tar.gz
[lcd4linux @ 2003-09-10 03:48:22 by reinelt]
Icons for M50530, new processing scheme (Ticks.Text...)
Diffstat (limited to 'MatrixOrbital.c')
-rw-r--r--MatrixOrbital.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/MatrixOrbital.c b/MatrixOrbital.c
index 74cb3f7..bf0c48f 100644
--- a/MatrixOrbital.c
+++ b/MatrixOrbital.c
@@ -1,4 +1,4 @@
-/* $Id: MatrixOrbital.c,v 1.38 2003/09/09 11:47:47 reinelt Exp $
+/* $Id: MatrixOrbital.c,v 1.39 2003/09/10 03:48:23 reinelt Exp $
*
* driver for Matrix Orbital serial display modules
*
@@ -20,6 +20,9 @@
*
*
* $Log: MatrixOrbital.c,v $
+ * Revision 1.39 2003/09/10 03:48:23 reinelt
+ * Icons for M50530, new processing scheme (Ticks.Text...)
+ *
* Revision 1.38 2003/09/09 11:47:47 reinelt
* basic icon support for HD44780
*
@@ -371,7 +374,7 @@ static int MO_init (LCD *Self, int protocol)
Device=MO_open();
if (Device==-1) 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, MO_define_char);