aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2001-08-08 05:40:24 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2001-08-08 05:40:24 +0000
commitbed8137c1a80f909d5fd727565d19bcf8eae69e0 (patch)
treebd96685aad33bf4a23f15778b9deeabb26b521b9
parentbb4d10bff4f337f0a227b2fbecc549401ae34d74 (diff)
downloadlcd4linux-bed8137c1a80f909d5fd727565d19bcf8eae69e0.tar.gz
[lcd4linux @ 2001-08-08 05:40:24 by reinelt]
renamed CLK_TCK to CLOCKS_PER_SEC git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@140 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--udelay.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/udelay.c b/udelay.c
index e9a3231..079f986 100644
--- a/udelay.c
+++ b/udelay.c
@@ -1,4 +1,4 @@
-/* $Id: udelay.c,v 1.5 2001/03/12 13:44:58 reinelt Exp $
+/* $Id: udelay.c,v 1.6 2001/08/08 05:40:24 reinelt Exp $
*
* short delays
*
@@ -20,6 +20,10 @@
*
*
* $Log: udelay.c,v $
+ * Revision 1.6 2001/08/08 05:40:24 reinelt
+ *
+ * renamed CLK_TCK to CLOCKS_PER_SEC
+ *
* Revision 1.5 2001/03/12 13:44:58 reinelt
*
* new udelay() using Time Stamp Counters
@@ -122,7 +126,7 @@ void udelay_calibrate (void)
tick=clock();
while (clock()==tick);
tick=clock();
- udelay(1000000/CLK_TCK);
+ udelay(1000000/CLOCKS_PER_SEC);
if (clock()>tick)
break;
}
@@ -134,7 +138,7 @@ void udelay_calibrate (void)
tick=clock();
while (clock()==tick);
tick=clock();
- udelay(1000000/CLK_TCK);
+ udelay(1000000/CLOCKS_PER_SEC);
if (clock()>tick)
loops_per_usec&=~bit;
}