]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2006-08-11 11:59:29 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Fri, 11 Aug 2006 11:59:29 +0000 (11:59 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Fri, 11 Aug 2006 11:59:29 +0000 (11:59 +0000)
M50530 minor fixes

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@688 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_M50530.c
lcd4linux.conf.sample

index 26f85bcc3c81c0b2f57c91e8ca29e0d1edba5f17..fcf6d2517e9fb220458959889859327d5c021888 100644 (file)
@@ -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  */
index 4a651a5fe932f8553024b36ea8e2f5e5b9dbf948..7bb79194432ca9ef533620a6a8333fb3000866eb 100644 (file)
@@ -319,6 +319,7 @@ Display M50530-24x8 {
     Wire.IOC2 'AUTOFD'
     Wire.GPO  'GND'
     UseBusy    1
+    Timing.fuzz 100
 }