Mark uptime counter volatile to avoid miscompilation of delay loops

Since the uptime counter is updated in an ISR, the compiler may
attempt to optimize away code that checks for an updated value.

Avoid this by marking the uptime counter as volatile.
1 job for master in 18 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #340
build1

00:00:18