aboutsummaryrefslogtreecommitdiffstats
path: root/drv_picoLCDGraphic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_picoLCDGraphic.c')
-rw-r--r--drv_picoLCDGraphic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drv_picoLCDGraphic.c b/drv_picoLCDGraphic.c
index 3cab774..244cc5b 100644
--- a/drv_picoLCDGraphic.c
+++ b/drv_picoLCDGraphic.c
@@ -1,4 +1,4 @@
-/* $Id: drv_picoLCDGraphic.c 1153 2011-07-27 05:12:30Z michael $
+/* $Id: drv_picoLCDGraphic.c 1181 2012-03-15 03:48:49Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_picoLCDGraphic.c $
*
* driver for picoLCD Graphic(256x64) displays from mini-box.com
@@ -432,8 +432,8 @@ static int drv_pLG_backlight(int backlight)
if (backlight < 0)
backlight = 0;
- if (backlight >= 1)
- backlight = 200;
+ if (backlight > 255)
+ backlight = 255;
cmd[1] = backlight;
drv_pLG_send(cmd, 2);
@@ -667,7 +667,7 @@ int drv_pLG_init(const char *section, const int quiet)
{
int ret;
- info("%s: %s", Name, "$Rev: 1153 $");
+ info("%s: %s", Name, "$Rev: 1181 $");
info("PICOLCD Graphic initialization\n");