Skip to content

Commit

Permalink
fix(plat/drivers): add missing uart_putc function prototype
Browse files Browse the repository at this point in the history
Add missing uart_putc function prototype to 8250_uart.h and nxp_uart.h files.

Signed-off-by: joaopeixoto13 <[email protected]>
  • Loading branch information
joaopeixoto13 authored and josecm committed Jan 30, 2024
1 parent 2851057 commit fb9278b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/drivers/8250_uart/inc/drivers/8250_uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ typedef struct uart8250_hw bao_uart_t;

void uart_enable(volatile struct uart8250_hw* uart);
void uart_init(volatile struct uart8250_hw* uart);
void uart_putc(volatile struct uart8250_hw* uart, int8_t c);

#endif /* UART8250_H */
1 change: 1 addition & 0 deletions src/platform/drivers/nxp_uart/inc/drivers/nxp_uart.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ typedef struct lpuart bao_uart_t;

void uart_enable(volatile struct lpuart* uart);
void uart_init(volatile struct lpuart* uart);
void uart_putc(volatile struct lpuart* uart, char c);
#endif /* __UART_NXP_H */

0 comments on commit fb9278b

Please sign in to comment.