diff --git a/os/hal/ports/AVR/serial_lld.c b/os/hal/ports/AVR/serial_lld.c index 688e132c1..953870952 100644 --- a/os/hal/ports/AVR/serial_lld.c +++ b/os/hal/ports/AVR/serial_lld.c @@ -117,7 +117,7 @@ static void set_error(uint8_t sra, SerialDriver *sdp) { } #if AVR_SERIAL_USE_USART0 || defined(__DOXYGEN__) -static void notify1(GenericQueue *qp) { +static void notify1(io_queue_t *qp) { (void)qp; UCSR0B |= (1 << UDRIE0); @@ -166,7 +166,7 @@ static void usart0_deinit(void) { #endif #if AVR_SERIAL_USE_USART1 || defined(__DOXYGEN__) -static void notify2(GenericQueue *qp) { +static void notify2(io_queue_t *qp) { (void)qp; UCSR1B |= (1 << UDRIE1);