aboutsummaryrefslogtreecommitdiffstats
path: root/drv_Crystalfontz.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-02 05:56:25 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-06-02 05:56:25 +0000
commitb07a5205b19d8e46596d748af8e070bfd58949e5 (patch)
tree9bc136d27cc776268732e2a33ecae7c940ab0762 /drv_Crystalfontz.c
parenta4cd5b8283d5ae7788091f9670e0a5165fcef136 (diff)
downloadlcd4linux-b07a5205b19d8e46596d748af8e070bfd58949e5.tar.gz
[lcd4linux @ 2004-06-02 05:56:25 by reinelt]
extended contrast range for Crystalfontz git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@460 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_Crystalfontz.c')
-rw-r--r--drv_Crystalfontz.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drv_Crystalfontz.c b/drv_Crystalfontz.c
index 4962b06..00d5397 100644
--- a/drv_Crystalfontz.c
+++ b/drv_Crystalfontz.c
@@ -1,4 +1,4 @@
-/* $Id: drv_Crystalfontz.c,v 1.21 2004/06/01 06:45:28 reinelt Exp $
+/* $Id: drv_Crystalfontz.c,v 1.22 2004/06/02 05:56:25 reinelt Exp $
*
* new style driver for Crystalfontz display modules
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_Crystalfontz.c,v $
+ * Revision 1.22 2004/06/02 05:56:25 reinelt
+ *
+ * extended contrast range for Crystalfontz
+ *
* Revision 1.21 2004/06/01 06:45:28 reinelt
*
* some Fixme's processed
@@ -792,7 +796,7 @@ static int drv_CF_start (char *section)
memset (Line, ' ', sizeof(Line));
// set contrast
- if (cfg_number(section, "Contrast", 0, 0, 100, &i)>0) {
+ if (cfg_number(section, "Contrast", 0, 0, 255, &i)>0) {
drv_CF_contrast(i);
}