Fix error with timer1 being written to timer0