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).
|
||||
*/
|
||||
void clock_wait(clock_time_t i)
|
||||
void clock_wait(clock_time_t t)
|
||||
{
|
||||
clock_time_t start;
|
||||
start = clock_time();
|
||||
while(clock_time() - start < (clock_time_t)i);
|
||||
while(clock_time() - start < (clock_time_t)t);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue