Update timer.c

online github note change