[M2561] I hope AUDIO fix...

This commit is contained in:
bsongis@gmail.com
2013-06-21 21:40:47 +00:00
parent 288a697264
commit d91b8ecd0b
+1
View File
@@ -123,6 +123,7 @@ inline void boardInit()
#if defined(AUDIO) || defined(VOICE)
SET_TIMER_AUDIO_CTRL();
#if defined(CPUM2561)
OCR4A = 0xFF;
RESUME_AUDIO_INTERRUPT();
#else
TIMSK |= (1<<OCIE0) | (1<<TOIE0) | (1<<TOIE2); // Enable Output-Compare and Overflow interrrupts