A change to a 8 bit variable is atomic. Changes to larger values are not. However, interrupts are disabled during an interrupt service routine, so corruption of a multibyte variable will not occur in the ISR.
I do enable the interrupts in my function though
Quote from: JosAH on Feb 17, 2013, 04:50 pmI do enable the interrupts in my function thoughYou are enabling interrupts within an interrupt handler? That is a big red flag.