aboutsummaryrefslogtreecommitdiffstats
path: root/parport.c
diff options
context:
space:
mode:
authorreinelt <>2003-08-22 03:45:09 +0000
committerreinelt <>2003-08-22 03:45:09 +0000
commit49abf335e738118d5f724f6368d90a94babdde51 (patch)
treeede7a86b70c56a243b7b8437efca9648dfc1c771 /parport.c
parent1f11b6721960677a25a683043d6cc6941c393afd (diff)
downloadlcd4linux-49abf335e738118d5f724f6368d90a94babdde51.tar.gz
[lcd4linux @ 2003-08-22 03:45:08 by reinelt]
bug in parallel port code fixed, more icons stuff
Diffstat (limited to 'parport.c')
-rw-r--r--parport.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/parport.c b/parport.c
index db633b7..b638cea 100644
--- a/parport.c
+++ b/parport.c
@@ -1,4 +1,4 @@
-/* $Id: parport.c,v 1.5 2003/08/19 05:23:55 reinelt Exp $
+/* $Id: parport.c,v 1.6 2003/08/22 03:45:09 reinelt Exp $
*
* generic parallel port handling
*
@@ -20,6 +20,9 @@
*
*
* $Log: parport.c,v $
+ * Revision 1.6 2003/08/22 03:45:09 reinelt
+ * bug in parallel port code fixed, more icons stuff
+ *
* Revision 1.5 2003/08/19 05:23:55 reinelt
* HD44780 dual-controller patch from Jesse Brook Kovach
*
@@ -374,7 +377,7 @@ void parport_toggle (unsigned char bits, int level, int delay)
// Strobe, Select and AutoFeed are inverted!
value1 = bits & (value1 ^ (PARPORT_CONTROL_STROBE|PARPORT_CONTROL_SELECT|PARPORT_CONTROL_AUTOFD));
- value2 = bits & (value1 ^ (PARPORT_CONTROL_STROBE|PARPORT_CONTROL_SELECT|PARPORT_CONTROL_AUTOFD));
+ value2 = bits & (value2 ^ (PARPORT_CONTROL_STROBE|PARPORT_CONTROL_SELECT|PARPORT_CONTROL_AUTOFD));
#ifdef WITH_PPDEV