* Fill clock_delay with something (needs rewriting).
This commit is contained in:
parent
2a879202a2
commit
6dea7b68d1
1 changed files with 5 additions and 1 deletions
|
@ -102,7 +102,11 @@ clock_time(void)
|
||||||
void
|
void
|
||||||
clock_delay(unsigned int i)
|
clock_delay(unsigned int i)
|
||||||
{
|
{
|
||||||
// TODO
|
for (; i > 0; i--) { /* Needs fixing XXX */
|
||||||
|
unsigned j;
|
||||||
|
for (j = 50; j > 0; j--)
|
||||||
|
asm volatile("nop");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue