Florian Westphal <fw@xxxxxxxxx> wrote: > +static void sleep_ms(uint32_t delay) > +{ > + struct timespec ts = { .tv_nsec = delay * 1000llu * 1000llu }; > + > + nanosleep(&ts, NULL); This doesn't work if delay is larger than 1s. Not triggered by current test case, but better to avoid this. I will send a v2 later.