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
Diffstat (limited to '')
-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;
}
tions'>+3 2014-07-23Imported Upstream version 0+git20140611.14bd6c7upstream/0+git20140611.14bd6c7Jonathan McCrohan7-11/+60 2014-05-13New Upstream Snapshot (commit 1246b27)Jonathan McCrohan1-0/+6 2014-05-13Imported Upstream version 0+git20140512.1246b27upstream/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Release 0+git20140326.cfc2975-1debian/0+git20140326.cfc2975-1Jonathan McCrohan1-2/+2 2014-04-05d/control: update Homepage (upstream has moved from Gitweb to cgit)Jonathan McCrohan2-1/+2 2014-04-05New Upstream Snapshot (commit cfc2975)Jonathan McCrohan1-0/+6 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877 2014-01-16Release 0+git20140107.1850cf8-1debian/0+git20140107.1850cf8-1Jonathan McCrohan1-2/+2 2014-01-16Update Standards Version to 3.9.5Jonathan McCrohan2-1/+9 No changes required