lpc43xx/uart: Add missing BEGIN/END_DECLS
This commit is contained in:
parent
17fd708f66
commit
fa9fa986df
@ -321,6 +321,8 @@ typedef enum {
|
||||
|
||||
/* function prototypes */
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
/* Init UART and set PLL1 as clock source (PCLK) */
|
||||
void uart_init(uart_num_t uart_num,
|
||||
uart_databit_t data_nb_bits,
|
||||
@ -338,4 +340,6 @@ u8 uart_read_timeout(uart_num_t uart_num, u32 rx_timeout_nb_cycles, uart_error_t
|
||||
|
||||
void uart_write(uart_num_t uart_num, u8 data);
|
||||
|
||||
END_DECLS
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user