Fix __TICKS_PER_SEC

10ms timer = 100 ticks/second, not 10.