mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-24 11:34:53 +00:00
* Fill clock_delay with something (needs rewriting).
This commit is contained in:
parent
2a879202a2
commit
6dea7b68d1
@ -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…
x
Reference in New Issue
Block a user