Quote:
Originally Posted by MPaulHolmes
I believe the interrupts are re-enabled by resetting the SREG register to what it was before disabling interrupts, rather than using sti().
|
That usually works, but it is only necessary when enabling interrupts from within a function that is going to be called from both interrupt enabled code and interrupt disabled code.