Modified the parameter name of clock_wait function

This commit is contained in:
Fabien Castanier 2015-08-05 13:59:08 +02:00
parent 62c33260bd
commit 49b24e6f53

View file

@ -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);
}
/*---------------------------------------------------------------------------*/