Was will mir der compiler hier sagen?
Die interrupt routine muss einen rückgabe wert haben?!
avr-gcc -c -mmcu=atxmega32a4 -I. -gstabs -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=libs/x_uart.lst -std=gnu99 -MD -MP -MF
.dep/x_uart.o.d -DF_CPU=32000000L libs/x_uart.c -o libs/x_uart.o
libs/x_uart.c:70:1: warning: return type defaults to 'int'
libs/x_uart.c:70:1: warning: function declaration isn't a prototype
1 | ISR(USARTE0_TXC_vect)
|
2 | {
|
3 | if (!fifoIsEmpty(&uart_send_fifo))
|
4 | USARTE0.DATA = fifoRead(&uart_send_fifo);
|
5 | }
|