xtimer: small cleanups
This commit is contained in:
parent
e8f33c2ca0
commit
0fafe6c1a1
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user