mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +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…
Reference in New Issue
Block a user