aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/AVR
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/AVR')
-rw-r--r--os/hal/platforms/AVR/serial_lld.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/platforms/AVR/serial_lld.c b/os/hal/platforms/AVR/serial_lld.c
index 3e32f3105..a21e0e625 100644
--- a/os/hal/platforms/AVR/serial_lld.c
+++ b/os/hal/platforms/AVR/serial_lld.c
@@ -83,8 +83,9 @@ static void set_error(uint8_t sra, SerialDriver *sdp) {
}
#if USE_AVR_USART0 || defined(__DOXYGEN__)
-static void notify1(void) {
+static void notify1(GenericQueue *qp) {
+ (void)qp;
UCSR0B |= (1 << UDRIE);
}
@@ -114,8 +115,9 @@ static void usart0_deinit(void) {
#endif
#if USE_AVR_USART1 || defined(__DOXYGEN__)
-static void notify2(void) {
+static void notify2(GenericQueue *qp) {
+ (void)qp;
UCSR1B |= (1 << UDRIE);
}