/* Returns the approximate number of seconds that the timer has been running.  */
uint32_t delayGetSecondsActive(void)
/* Returns the approximate number of seconds that the timer has been running.  */
uint32_t delayGetSecondsActive(void)
{
  uint32_t currentTick = delayTicks;
  uint32_t rollovers = delayRollovers;
  uint32_t secsActive = currentTick / 1000;
  secsActive += rollovers * (0xFFFFFFFF / 1000);
  return secsActive;
}