From 0778745ee12a4f14c001bd205e05728cc01e9633 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 4 Mar 2008 16:08:22 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@214 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/ARM7-LPC214x/lpc214x_serial.c | 8 ++++---- ports/ARM7-LPC214x/lpc214x_serial.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ports/ARM7-LPC214x') diff --git a/ports/ARM7-LPC214x/lpc214x_serial.c b/ports/ARM7-LPC214x/lpc214x_serial.c index beed14cd2..8f4e1d417 100644 --- a/ports/ARM7-LPC214x/lpc214x_serial.c +++ b/ports/ARM7-LPC214x/lpc214x_serial.c @@ -25,12 +25,12 @@ #include "board.h" FullDuplexDriver COM1; -uint8_t ib1[SERIAL_BUFFERS_SIZE]; -uint8_t ob1[SERIAL_BUFFERS_SIZE]; +static uint8_t ib1[SERIAL_BUFFERS_SIZE]; +static uint8_t ob1[SERIAL_BUFFERS_SIZE]; FullDuplexDriver COM2; -uint8_t ib2[SERIAL_BUFFERS_SIZE]; -uint8_t ob2[SERIAL_BUFFERS_SIZE]; +static uint8_t ib2[SERIAL_BUFFERS_SIZE]; +static uint8_t ob2[SERIAL_BUFFERS_SIZE]; static void SetError(IOREG32 err, FullDuplexDriver *com) { uint16_t sts = 0; diff --git a/ports/ARM7-LPC214x/lpc214x_serial.h b/ports/ARM7-LPC214x/lpc214x_serial.h index 11683c086..e3afda35f 100644 --- a/ports/ARM7-LPC214x/lpc214x_serial.h +++ b/ports/ARM7-LPC214x/lpc214x_serial.h @@ -38,7 +38,7 @@ #define SERIAL_BUFFERS_SIZE 128 #ifdef __cplusplus -} +extern "C" { #endif void InitSerial(int vector1, int vector2); void UART0IrqHandler(void); -- cgit v1.2.3