X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/9f7883fa2b78fd7907162987fc65b71d3c6b19fa..7704d2915c88eed03111b9f202850c57115bb697:/Projects/XPLAINBridge/Lib/SoftUART.c 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)); }