xtimer: small cleanups

This commit is contained in:
Joakim Nohlgård 2015-10-28 07:25:31 +01:00
parent e8f33c2ca0
commit 0fafe6c1a1

View File

@ -482,9 +482,9 @@ static inline void xtimer_spin(uint32_t offset) {
while ((_xtimer_now() - start) < 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) static inline void xtimer_usleep64(uint64_t microseconds)