fixed pitsleep() for early-boot millisecond-resolution sleeps