]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2004-06-02 05:56:25 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 2 Jun 2004 05:56:25 +0000 (05:56 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Wed, 2 Jun 2004 05:56:25 +0000 (05:56 +0000)
extended contrast range for Crystalfontz

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@460 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_Crystalfontz.c

index 4962b06e2740413af7efcf7ff6ec990e87025e16..00d53970be9f4ebf379b3d89017d0632bae75d95 100644 (file)
@@ -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
  *
  *
  *
  * $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);
   }