diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-03-25 15:44:43 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2005-03-25 15:44:43 +0000 |
commit | b6dd247d8ae45694367c16be7fae65f084a18961 (patch) | |
tree | e0ad2da7149bcbf41e755c6da9f1f11631a87c41 | |
parent | 93f4190b076c528589fe1f32a10b4ce346e999fe (diff) | |
download | lcd4linux-b6dd247d8ae45694367c16be7fae65f084a18961.tar.gz |
[lcd4linux @ 2005-03-25 15:44:43 by reinelt]
HD44780 Backlight fixed (thanks to geronet)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@518 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | drv_HD44780.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drv_HD44780.c b/drv_HD44780.c index 14ee92a..a778731 100644 --- a/drv_HD44780.c +++ b/drv_HD44780.c @@ -1,4 +1,4 @@ -/* $Id: drv_HD44780.c,v 1.44 2005/01/29 09:30:56 reinelt Exp $ +/* $Id: drv_HD44780.c,v 1.45 2005/03/25 15:44:43 reinelt Exp $ * * new style driver for HD44780-based displays * @@ -29,6 +29,9 @@ * * * $Log: drv_HD44780.c,v $ + * Revision 1.45 2005/03/25 15:44:43 reinelt + * HD44780 Backlight fixed (thanks to geronet) + * * Revision 1.44 2005/01/29 09:30:56 reinelt * minor HD44780 cleanups * @@ -951,7 +954,7 @@ static int drv_HD_backlight (int backlight) if (backlight < 0) backlight = 0; if (backlight > 1) backlight = 1; - drv_generic_parport_control (SIGNAL_BACKLIGHT, backlight); + drv_generic_parport_control (SIGNAL_BACKLIGHT, backlight ? SIGNAL_BACKLIGHT : 0); return backlight; } |