aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARM7-AT91SAM7X/sam7x_serial.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-03 15:52:55 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-03 15:52:55 +0000
commitec0a917ae1bef32f1848161e759ef98542327523 (patch)
treea1e800e77272b8b605b8678d70402d42f9f2a57c /ports/ARM7-AT91SAM7X/sam7x_serial.c
parentc9efc761574cc108474517a21b98570e21301778 (diff)
downloadChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.tar.gz
ChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.tar.bz2
ChibiOS-ec0a917ae1bef32f1848161e759ef98542327523.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@212 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARM7-AT91SAM7X/sam7x_serial.c')
-rw-r--r--ports/ARM7-AT91SAM7X/sam7x_serial.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/ARM7-AT91SAM7X/sam7x_serial.c b/ports/ARM7-AT91SAM7X/sam7x_serial.c
index 5d56e267d..b3719fbc2 100644
--- a/ports/ARM7-AT91SAM7X/sam7x_serial.c
+++ b/ports/ARM7-AT91SAM7X/sam7x_serial.c
@@ -24,15 +24,15 @@
#include "at91lib/aic.h"
FullDuplexDriver COM1;
-static BYTE8 ib1[SERIAL_BUFFERS_SIZE];
-static BYTE8 ob1[SERIAL_BUFFERS_SIZE];
+static uint8_t ib1[SERIAL_BUFFERS_SIZE];
+static uint8_t ob1[SERIAL_BUFFERS_SIZE];
FullDuplexDriver COM2;
-static BYTE8 ib2[SERIAL_BUFFERS_SIZE];
-static BYTE8 ob2[SERIAL_BUFFERS_SIZE];
+static uint8_t ib2[SERIAL_BUFFERS_SIZE];
+static uint8_t ob2[SERIAL_BUFFERS_SIZE];
static void SetError(AT91_REG csr, FullDuplexDriver *com) {
- UWORD16 sts = 0;
+ uint16_t sts = 0;
if (csr & AT91C_US_OVRE)
sts |= SD_OVERRUN_ERROR;