|
@ -168,8 +168,8 @@ static void initISR(timer16_Sequence_t timer) { |
|
|
SBI(TIFR, OCF3A); // clear any pending interrupts;
|
|
|
SBI(TIFR, OCF3A); // clear any pending interrupts;
|
|
|
SBI(ETIMSK, OCIE3A); // enable the output compare interrupt
|
|
|
SBI(ETIMSK, OCIE3A); // enable the output compare interrupt
|
|
|
#else |
|
|
#else |
|
|
TIFR3 = _BV(OCF3A); // clear any pending interrupts;
|
|
|
SBI(TIFR3, OCF3A); // clear any pending interrupts;
|
|
|
TIMSK3 = _BV(OCIE3A) ; // enable the output compare interrupt
|
|
|
SBI(TIMSK3, OCIE3A); // enable the output compare interrupt
|
|
|
#endif |
|
|
#endif |
|
|
#ifdef WIRING |
|
|
#ifdef WIRING |
|
|
timerAttach(TIMER3OUTCOMPAREA_INT, Timer3Service); // for Wiring platform only
|
|
|
timerAttach(TIMER3OUTCOMPAREA_INT, Timer3Service); // for Wiring platform only
|
|
|