Does the Arduino core code actually turns OFF interrupts (perhaps using CLI) when inside an interrupt?
ISR(TIM1_ovf)
{
asm("CLI");
// do your thing...
asm("SEI");
}
Does the Arduino core code actually turns OFF interrupts (perhaps using CLI) when inside an interrupt?
ISR(TIM1_ovf)
{
asm("CLI");
// do your thing...
asm("SEI");
}