ISR_NAKED in Timer ISR
ISR_NAKED tells the compiler, "Don't add your own register saving code"
ISR(TIMER1_COMPA_vect, ISR_NAKED)
This is critcal if you're using your own save/restore code because if the compiler adds its o
ruthr.hashnode.dev1 min read