From 49b24e6f53b026edaf484e68664d0d3448e22ae5 Mon Sep 17 00:00:00 2001 From: Fabien Castanier Date: Wed, 5 Aug 2015 13:59:08 +0200 Subject: [PATCH] Modified the parameter name of clock_wait function --- cpu/arm/stm32l152/clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/arm/stm32l152/clock.c b/cpu/arm/stm32l152/clock.c index a38248de7..57ed8eba4 100644 --- a/cpu/arm/stm32l152/clock.c +++ b/cpu/arm/stm32l152/clock.c @@ -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); } /*---------------------------------------------------------------------------*/