diff options
author | reinelt <> | 2005-03-25 15:44:43 +0000 |
---|---|---|
committer | reinelt <> | 2005-03-25 15:44:43 +0000 |
commit | 55476cb223f943a19effc402d2f3021df4cf7474 (patch) | |
tree | e0ad2da7149bcbf41e755c6da9f1f11631a87c41 | |
parent | 5b94e9a28bff5f356524424754bd3f7440853b51 (diff) | |
download | lcd4linux-55476cb223f943a19effc402d2f3021df4cf7474.tar.gz |
[lcd4linux @ 2005-03-25 15:44:43 by reinelt]
HD44780 Backlight fixed (thanks to geronet)
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; } |