1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

xtimer: Use USEC_IN_NS for nanosleep

This commit is contained in:
Joakim Nohlgård 2015-10-28 07:27:03 +01:00
parent 0fafe6c1a1
commit e93840e68b

View File

@ -499,7 +499,7 @@ static inline void xtimer_sleep(uint32_t seconds)
static inline void xtimer_nanosleep(uint32_t nanoseconds)
{
_xtimer_sleep(nanoseconds/1000, 0);
_xtimer_sleep(nanoseconds / USEC_IN_NS, 0);
}
#ifdef __cplusplus