This can be generalised if/when more processing is needed by SysTick. Thanks to @chuckbook for the idea.