Ok I got some code from atmel as a example and I am dissecting/modifying it to work as a simple I2C slave. Problem is I don't know how to define an ISR in AVR studio with winavr.
__interrupt void TWI_ISR( void );
that is what Atmel used but they use a different compiler. So my code ignores that statement and spits out an error on the second line. How do I define the TWI_ISR for this?