aboutsummaryrefslogtreecommitdiffstats
path: root/HD44780.c
diff options
context:
space:
mode:
authorreinelt <>2001-03-12 13:44:58 +0000
committerreinelt <>2001-03-12 13:44:58 +0000
commitfa9a4511b4aef7536ec10128d2b54aff0d117958 (patch)
treec028a9c468ef0c5d0389572fc8363c51e854e9c5 /HD44780.c
parent7c590af02f8eb79170bec839281e17eea94085ea (diff)
downloadlcd4linux-fa9a4511b4aef7536ec10128d2b54aff0d117958.tar.gz
[lcd4linux @ 2001-03-12 13:44:58 by reinelt]
new udelay() using Time Stamp Counters
Diffstat (limited to 'HD44780.c')
-rw-r--r--HD44780.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/HD44780.c b/HD44780.c
index 8bb44a9..f0a3d3c 100644
--- a/HD44780.c
+++ b/HD44780.c
@@ -1,4 +1,4 @@
-/* $Id: HD44780.c,v 1.13 2001/03/12 12:39:36 reinelt Exp $
+/* $Id: HD44780.c,v 1.14 2001/03/12 13:44:58 reinelt Exp $
*
* driver for display modules based on the HD44780 chip
*
@@ -20,6 +20,10 @@
*
*
* $Log: HD44780.c,v $
+ * Revision 1.14 2001/03/12 13:44:58 reinelt
+ *
+ * new udelay() using Time Stamp Counters
+ *
* Revision 1.13 2001/03/12 12:39:36 reinelt
*
* reworked autoconf a lot: drivers may be excluded, #define's went to config.h
@@ -439,6 +443,10 @@ int HD_init (LCD *Self)
Self->gpos=gpos;
Lcd=*Self;
+#ifndef USE_OLD_UDELAY
+ udelay_init();
+#endif
+
if (HD_open()!=0)
return -1;