From fa9fa986df684e8f7b3fd2730d7d6f217802f218 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Wed, 12 Jun 2013 20:21:19 -0400 Subject: [PATCH] lpc43xx/uart: Add missing BEGIN/END_DECLS --- include/libopencm3/lpc43xx/uart.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libopencm3/lpc43xx/uart.h b/include/libopencm3/lpc43xx/uart.h index 7e640f55..5d73100e 100644 --- a/include/libopencm3/lpc43xx/uart.h +++ b/include/libopencm3/lpc43xx/uart.h @@ -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