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.
parent d64bb14d
Pipeline #271 passed with stage
in 18 seconds