fixed all timer type to use system_tick_t

OK @towynlin merged compiles and runs!