aboutsummaryrefslogtreecommitdiffstats
path: root/HD44780.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 /HD44780.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 'HD44780.c')
-rw-r--r--HD44780.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/HD44780.c b/HD44780.c
index 5417877..d4b27e4 100644
--- a/HD44780.c
+++ b/HD44780.c
@@ -1,4 +1,4 @@
-/* $Id: HD44780.c,v 1.34 2003/08/19 05:23:55 reinelt Exp $
+/* $Id: HD44780.c,v 1.35 2003/08/22 03:45:08 reinelt Exp $
*
* driver for display modules based on the HD44780 chip
*
@@ -27,6 +27,9 @@
*
*
* $Log: HD44780.c,v $
+ * Revision 1.35 2003/08/22 03:45:08 reinelt
+ * bug in parallel port code fixed, more icons stuff
+ *
* Revision 1.34 2003/08/19 05:23:55 reinelt
* HD44780 dual-controller patch from Jesse Brook Kovach
*
@@ -469,9 +472,9 @@ int HD_init (LCD *Self)
return -1;
}
- // clear RW
+ // clear all signals
if (Bits==8) {
- parport_control (SIGNAL_RW, 0);
+ parport_control (SIGNAL_RS|SIGNAL_RW|SIGNAL_ENABLE|SIGNAL_ENABLE2|SIGNAL_GPO, 0);
} else {
parport_data (0);
}