diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-12-11 14:55:28 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-12-11 14:55:28 +0000 |
commit | e2ee0ac6639cb58591a3f03ff34f6bc51b6375b7 (patch) | |
tree | b3c687788d6a73bd0954357809e5229b3b5e41da /drv_BWCT.c | |
parent | 5f255d494681c1b87456c98e973cc0448f99c898 (diff) | |
download | lcd4linux-e2ee0ac6639cb58591a3f03ff34f6bc51b6375b7.tar.gz |
[lcd4linux @ 2005-12-11 14:55:28 by reinelt]
contrast range for BWCT is 0..255, not 0..100
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@598 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_BWCT.c')
-rw-r--r-- | drv_BWCT.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: drv_BWCT.c,v 1.3 2005/05/08 04:32:43 reinelt Exp $ +/* $Id: drv_BWCT.c,v 1.4 2005/12/11 14:55:28 reinelt Exp $ * * new style driver for BWCT USB LCD displays * @@ -23,6 +23,9 @@ * * * $Log: drv_BWCT.c,v $ + * Revision 1.4 2005/12/11 14:55:28 reinelt + * contrast range for BWCT is 0..255, not 0..100 + * * Revision 1.3 2005/05/08 04:32:43 reinelt * CodingStyle added and applied * @@ -258,7 +261,7 @@ static int drv_BW_start(const char *section, const int quiet) drv_BW_command(0x06); /* curser moves to right, no shift */ - if (cfg_number(section, "Contrast", 0, 0, 100, &contrast) > 0) { + if (cfg_number(section, "Contrast", 0, 0, 255, &contrast) > 0) { drv_BW_contrast(contrast); } |