Update timer.c

fixe