aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-10-02 07:58:48 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-10-02 07:58:48 +0000
commitdb8e2f2c065e9a35374c309cb75ae80d133727bd (patch)
treed6cb2658bc8a57acb809e3755ced3aa25dfb99a5
parent8214a5f26fe17eb48e327e998b81a3d2971cbefc (diff)
downloadlcd4linux-db8e2f2c065e9a35374c309cb75ae80d133727bd.tar.gz
[lcd4linux @ 2005-10-02 07:58:48 by reinelt]
HD44780 address setup time increased git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@589 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rwxr-xr-xconfigure12
-rw-r--r--drv_HD44780.c7
2 files changed, 11 insertions, 8 deletions
diff --git a/configure b/configure
index 46a3d5e..ffc51eb 100755
--- 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
diff --git a/drv_HD44780.c b/drv_HD44780.c
index 7444515..9a636bd 100644
--- a/drv_HD44780.c
+++ b/drv_HD44780.c
@@ -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 */