fixed all timer type to use system_tick_t