diff --git a/port/moonlight/inc/uart.h b/port/moonlight/inc/uart.h index 2cbd72f..caf3703 100644 --- a/port/moonlight/inc/uart.h +++ b/port/moonlight/inc/uart.h @@ -33,4 +33,8 @@ static inline uint8_t uart_read(volatile uart_t* reg) return res; } +static inline int uart_init(void) +{ + return 0; +} #endif /* _DEVICES_UART_H */