Comment by qwertox

6 years ago

Sure, but to me this sounds scary.

If I'd know that it were every "(2^32 - 1) ms to days" -> "49 days 17 hours 2 minutes 47.3 seconds" (millis stored in an unsigned long) then I'd be at ease, but 51 days doesn't say anything to me.

I just hope that they know why it's max 51 days.

Instead of 1ms, try running the math if the tick rate instead was 1.024ms, (1024 usec).

These things are often driven with a 32.768 MHz crystal, in case anyone's wondering why not just a nice even 1.000ms.

On another forum I talked about way long ago, when I had to debug a huge system that reset after 248.x days of uptime. Yep, run the math...