From 0fafe6c1a1c61ed38a6aebb1b01c22057d7793ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Wed, 28 Oct 2015 07:25:31 +0100 Subject: [PATCH] xtimer: small cleanups --- sys/include/xtimer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/include/xtimer.h b/sys/include/xtimer.h index 961b9043a3..976870e5fc 100644 --- a/sys/include/xtimer.h +++ b/sys/include/xtimer.h @@ -482,9 +482,9 @@ static inline void xtimer_spin(uint32_t offset) { while ((_xtimer_now() - start) < offset); } -static inline void xtimer_usleep(uint32_t offset) +static inline void xtimer_usleep(uint32_t microseconds) { - _xtimer_sleep(offset, 0); + _xtimer_sleep(microseconds, 0); } static inline void xtimer_usleep64(uint64_t microseconds) @@ -494,7 +494,7 @@ static inline void xtimer_usleep64(uint64_t microseconds) static inline void xtimer_sleep(uint32_t seconds) { - xtimer_usleep64((uint64_t)seconds*SEC_IN_USEC); + xtimer_usleep64((uint64_t)seconds * SEC_IN_USEC); } static inline void xtimer_nanosleep(uint32_t nanoseconds)