diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2001-08-08 05:40:24 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2001-08-08 05:40:24 +0000 |
commit | bed8137c1a80f909d5fd727565d19bcf8eae69e0 (patch) | |
tree | bd96685aad33bf4a23f15778b9deeabb26b521b9 | |
parent | bb4d10bff4f337f0a227b2fbecc549401ae34d74 (diff) | |
download | lcd4linux-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.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; } |