Gast
#1371224
Hallo ich bin noch nicht so ganz fit in Interrupts und habe auch beim kompilieren Fehler bekommen. Vielleicht kann mir jemand helfen. Danke. Es handelt sich um einen ATMega16. folgende Fehler beim AVR-GCC: ../Interrupt1.c:25: error: 'GICR' undeclared (first use in this function) ../Interrupt1.c:25: error: (Each undeclared identifier is reported only once ../Interrupt1.c:25: error: for each function it appears in.) ../Interrupt1.c:29: error: static declaration of '__vector_2' follows non-static declaration ../Interrupt1.c:29: error: previous declaration of '__vector_2' was here make: *** [Interrupt1.o] Error 1 Build failed with 5 errors and 0 warnings... Was ich auch nicht so ganz verstehe warum er mir GICR anmeckert? Der ist doch im avr/iom16.h und somit der aufrufenden avr/io.h deklariert?