mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-14 09:28:59 +00:00
Modified the parameter name of clock_wait function
This commit is contained in:
parent
62c33260bd
commit
49b24e6f53
@ -95,10 +95,10 @@ void clock_delay(unsigned int i)
|
|||||||
/**
|
/**
|
||||||
* Wait for a multiple of clock ticks (7.8 ms at 128 Hz).
|
* Wait for a multiple of clock ticks (7.8 ms at 128 Hz).
|
||||||
*/
|
*/
|
||||||
void clock_wait(clock_time_t i)
|
void clock_wait(clock_time_t t)
|
||||||
{
|
{
|
||||||
clock_time_t start;
|
clock_time_t start;
|
||||||
start = clock_time();
|
start = clock_time();
|
||||||
while(clock_time() - start < (clock_time_t)i);
|
while(clock_time() - start < (clock_time_t)t);
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
Loading…
Reference in New Issue
Block a user