- /* Set transmission timer compare period, enable compare ISR and start the timer */
- OCR3A = BIT_TIME;
- TIMSK3 = (1 << OCIE3A);
- TCCR3B = ((1 << CS30) | (1 << WGM32));
+ /* Setup reception timer compare ISR */
+ TIMSK1 = (1 << ICIE1);
+
+ /* Setup transmission timer compare ISR and start the timer */
+ TIMSK3 = (1 << ICIE3);
+ TCCR3B = ((1 << CS30) | (1 << WGM33) | (1 << WGM32));