- {
- /* Still low, enable both send and receive channels */
- TIMSK1 = (1 << OCIE1A) | (1 << OCIE1B);
-
- /* Clear the start bit detection ISR flag if it is pending */
+ {
+ /* Clear reception channel ISR flag in case it is pending */
+ TIFR1 = (1 << OCF1A);
+
+ /* Still low, enable bit receive ISR */
+ TIMSK1 = (1 << OCIE1A);
+
+ /* Clear the start bit detection ISR flag */