aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--drv_M50530.c10
-rw-r--r--lcd4linux.conf.sample1
2 files changed, 9 insertions, 2 deletions
diff --git a/drv_M50530.c b/drv_M50530.c
index 26f85bc..fcf6d25 100644
--- a/drv_M50530.c
+++ b/drv_M50530.c
@@ -1,4 +1,4 @@
-/* $Id: drv_M50530.c,v 1.22 2006/08/10 20:40:46 reinelt Exp $
+/* $Id: drv_M50530.c,v 1.23 2006/08/11 11:59:29 reinelt Exp $
*
* new style driver for M50530-based displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_M50530.c,v $
+ * Revision 1.23 2006/08/11 11:59:29 reinelt
+ * M50530 minor fixes
+ *
* Revision 1.22 2006/08/10 20:40:46 reinelt
* M50530 enhancements: Timings, busy-flag checking
*
@@ -269,6 +272,9 @@ static void drv_M5_busy(void)
/* clear R/W */
drv_generic_parport_control(SIGNAL_RW, 0);
+ /* honour data hold time */
+ ndelay (T_H);
+
/* set data-lines to output */
drv_generic_parport_direction(0);
@@ -682,7 +688,7 @@ int drv_M5_init(const char *section, const int quiet)
WIDGET_CLASS wc;
int ret;
- info("%s: %s", Name, "$Revision: 1.22 $");
+ info("%s: %s", Name, "$Revision: 1.23 $");
/* display preferences */
XRES = -1; /* pixel width of one char */
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 4a651a5..7bb7919 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -319,6 +319,7 @@ Display M50530-24x8 {
Wire.IOC2 'AUTOFD'
Wire.GPO 'GND'
UseBusy 1
+ Timing.fuzz 100
}