]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2005-10-02 07:58:48 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 2 Oct 2005 07:58:48 +0000 (07:58 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 2 Oct 2005 07:58:48 +0000 (07:58 +0000)
HD44780 address setup time increased

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

configure
drv_HD44780.c

index 46a3d5eaa3406416989e887a541905f3ccde6d2c..ffc51eb401ba7e64a924850a13038526bcd233ce 100755 (executable)
--- a/configure
+++ b/configure
@@ -3634,7 +3634,7 @@ _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-#include <X11/Intrinsic.h>
+#include <X11/Xlib.h>
 _ACEOF
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
@@ -3661,7 +3661,7 @@ else
 sed 's/^/| /' conftest.$ac_ext >&5
 
   for ac_dir in $ac_x_header_dirs; do
-  if test -r "$ac_dir/X11/Intrinsic.h"; then
+  if test -r "$ac_dir/X11/Xlib.h"; then
     ac_x_includes=$ac_dir
     break
   fi
@@ -3675,18 +3675,18 @@ if test "$ac_x_libraries" = no; then
   # See if we find them without any special options.
   # Don't add to $LIBS permanently.
   ac_save_LIBS=$LIBS
-  LIBS="-lXt $LIBS"
+  LIBS="-lX11 $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-#include <X11/Intrinsic.h>
+#include <X11/Xlib.h>
 int
 main ()
 {
-XtMalloc (0)
+XrmInitialize ()
   ;
   return 0;
 }
@@ -3724,7 +3724,7 @@ for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 do
   # Don't even attempt the hair of trying to link an X program!
   for ac_extension in a so sl; do
-    if test -r $ac_dir/libXt.$ac_extension; then
+    if test -r $ac_dir/libX11.$ac_extension; then
       ac_x_libraries=$ac_dir
       break 2
     fi
index 7444515a44e27d7f2f0550e6985909d0fe2a4b4b..9a636bd1f3b4bd5f03f4047674a0481f0887457f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: drv_HD44780.c,v 1.54 2005/06/09 17:41:47 reinelt Exp $
+/* $Id: drv_HD44780.c,v 1.55 2005/10/02 07:58:48 reinelt Exp $
  *
  * new style driver for HD44780-based displays
  *
@@ -32,6 +32,9 @@
  *
  *
  * $Log: drv_HD44780.c,v $
+ * Revision 1.55  2005/10/02 07:58:48  reinelt
+ * HD44780 address setup time increased
+ *
  * Revision 1.54  2005/06/09 17:41:47  reinelt
  * M50530 fixes (many thanks to Szymon Bieganski)
  *
@@ -299,7 +302,7 @@ static int Capabilities;
 
 #define T_CYCLE 1000           /* Enable cycle time */
 #define T_PW     450           /* Enable pulse width */
-#define T_AS      60           /* Address setup time */
+#define T_AS     140           /* Address setup time */
 #define T_H       40           /* Data hold time */
 #define T_AH      20           /* Address hold time */