Fix typos in the XPLAINBridge project preventing compilation.
authorDean Camera <dean@fourwalledcubicle.com>
Fri, 26 Nov 2010 04:27:52 +0000 (04:27 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Fri, 26 Nov 2010 04:27:52 +0000 (04:27 +0000)
Projects/XPLAINBridge/Lib/SoftUART.c

index 9df42c5..7667bfa 100644 (file)
@@ -67,10 +67,10 @@ void SoftUART_Init(void)
        SoftUART_SetBaud(9600);
 
        /* Setup reception timer compare ISR */
        SoftUART_SetBaud(9600);
 
        /* Setup reception timer compare ISR */
-       TIMSK1 = (1 << OC1E1A);
+       TIMSK1 = (1 << OCIE1A);
 
        /* Setup transmission timer compare ISR and start the timer */
 
        /* Setup transmission timer compare ISR and start the timer */
-       TIMSK3 = (1 << OC1E3A);
+       TIMSK3 = (1 << OCIE3A);
        TCCR3B = ((1 << CS30) | (1 << WGM32));
 }
 
        TCCR3B = ((1 << CS30) | (1 << WGM32));
 }