summaryrefslogtreecommitdiffstats
path: root/udelay.c
diff options
context:
space:
mode:
Diffstat (limited to 'udelay.c')
-rw-r--r--udelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udelay.c b/udelay.c
index 4160300..9a0ab36 100644
--- a/udelay.c
+++ b/udelay.c
@@ -24,10 +24,10 @@
// count to a billion. Time it. If it's < 1 sec, count to 10B, etc.
unsigned long micro = 1;
-void myusec_delay(int time)
+void myusec_delay(int usecs)
{
volatile unsigned long i;
- for (i = 0; i < time * micro; i++) ;
+ for (i = 0; i < usecs * micro; i++) ;
}
void myusec_calibrate_delay(void)
OpenPOWER on IntegriCloud