This has incorrectly converted 0xFFFF ticks into 65535ms without a proper conversion.  If you were consciously taking the short-cut that we always have 1 tick/ms, then that's an OK translation.  Just want to make sure that was your intent.  The number seems somewhat arbitrary anyway.  Should this be a macro?