I'm trying to allow my timer overflow interrupt handler access to private
static members of a C++ class, with this:
friend ::TIMER1_OVF_vect();
But I can' figure out how to declare the interrupt handler beforehand in a way
that doesn't make the compiler complain. It seems like the ISR() macro declares
and immediately defines the handler, so I tried copying that declaration to my
header file, but I get an error "ambiguates old declaration".
Is there any way to pull this off? Thanks!
--
Rick
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat