#endif
OCR0A = TIMER_RAW_TOP;
+#ifdef TIMSK0
TIMSK0 = (1<<OCIE0A);
+#else
+ TIMSK = (1<<OCIE0A);
+#endif
}
inline
}
// excecuted once per 1ms.(excess for just timer count?)
-ISR(TIMER0_COMPA_vect)
+ISR(TIMER0_COMPA_vect, ISR_NOBLOCK)
{
timer_count++;
}