aboutsummaryrefslogtreecommitdiffstats
path: root/HD44780.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2001-03-12 13:44:58 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2001-03-12 13:44:58 +0000
commit064f4880a2349039356945b3a9f2081f035c32c1 (patch)
treec028a9c468ef0c5d0389572fc8363c51e854e9c5 /HD44780.c
parent62fdec1130f15faf0ed0562f79525f64f7f6e9bd (diff)
downloadlcd4linux-064f4880a2349039356945b3a9f2081f035c32c1.tar.gz
[lcd4linux @ 2001-03-12 13:44:58 by reinelt]
new udelay() using Time Stamp Counters git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@112 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-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;