aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Projects/XPLAINBridge/Lib/SoftUART.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/XPLAINBridge/Lib/SoftUART.c b/Projects/XPLAINBridge/Lib/SoftUART.c
index 9df42c596..7667bfa31 100644
--- a/Projects/XPLAINBridge/Lib/SoftUART.c
+++ b/Projects/XPLAINBridge/Lib/SoftUART.c
@@ -67,10 +67,10 @@ void SoftUART_Init(void)
SoftUART_SetBaud(9600);
/* Setup reception timer compare ISR */
- TIMSK1 = (1 << OC1E1A);
+ TIMSK1 = (1 << OCIE1A);
/* Setup transmission timer compare ISR and start the timer */
- TIMSK3 = (1 << OC1E3A);
+ TIMSK3 = (1 << OCIE3A);
TCCR3B = ((1 << CS30) | (1 << WGM32));
}