diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-03-03 15:52:55 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-03-03 15:52:55 +0000 |
commit | ec0a917ae1bef32f1848161e759ef98542327523 (patch) | |
tree | a1e800e77272b8b605b8678d70402d42f9f2a57c /ports/ARM7-LPC214x | |
parent | c9efc761574cc108474517a21b98570e21301778 (diff) | |
download | ChibiOS-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-LPC214x')
-rw-r--r-- | ports/ARM7-LPC214x/lpc214x_serial.c | 10 | ||||
-rw-r--r-- | ports/ARM7-LPC214x/lpc214x_ssp.c | 2 | ||||
-rw-r--r-- | ports/ARM7-LPC214x/lpc214x_ssp.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ports/ARM7-LPC214x/lpc214x_serial.c b/ports/ARM7-LPC214x/lpc214x_serial.c index 88fc9ab91..beed14cd2 100644 --- a/ports/ARM7-LPC214x/lpc214x_serial.c +++ b/ports/ARM7-LPC214x/lpc214x_serial.c @@ -25,15 +25,15 @@ #include "board.h"
FullDuplexDriver COM1;
-BYTE8 ib1[SERIAL_BUFFERS_SIZE];
-BYTE8 ob1[SERIAL_BUFFERS_SIZE];
+uint8_t ib1[SERIAL_BUFFERS_SIZE];
+uint8_t ob1[SERIAL_BUFFERS_SIZE];
FullDuplexDriver COM2;
-BYTE8 ib2[SERIAL_BUFFERS_SIZE];
-BYTE8 ob2[SERIAL_BUFFERS_SIZE];
+uint8_t ib2[SERIAL_BUFFERS_SIZE];
+uint8_t ob2[SERIAL_BUFFERS_SIZE];
static void SetError(IOREG32 err, FullDuplexDriver *com) {
- UWORD16 sts = 0;
+ uint16_t sts = 0;
if (err & LSR_OVERRUN)
sts |= SD_OVERRUN_ERROR;
diff --git a/ports/ARM7-LPC214x/lpc214x_ssp.c b/ports/ARM7-LPC214x/lpc214x_ssp.c index ab0c4f141..80a936f4a 100644 --- a/ports/ARM7-LPC214x/lpc214x_ssp.c +++ b/ports/ARM7-LPC214x/lpc214x_ssp.c @@ -55,7 +55,7 @@ void sspReleaseBus(void) { * rest of the system. This kind of peripheral would really need a
* dedicated DMA channel.
*/
-void sspRW(BYTE8 *in, BYTE8 *out, t_size n) {
+void sspRW(uint8_t *in, uint8_t *out, t_size n) {
int icnt, ocnt;
SSP *ssp = SSPBase;
diff --git a/ports/ARM7-LPC214x/lpc214x_ssp.h b/ports/ARM7-LPC214x/lpc214x_ssp.h index 07401d173..70a4be527 100644 --- a/ports/ARM7-LPC214x/lpc214x_ssp.h +++ b/ports/ARM7-LPC214x/lpc214x_ssp.h @@ -34,7 +34,7 @@ void sspAcquireBus(void);
void sspReleaseBus(void);
- void sspRW(BYTE8 *in, BYTE8 *out, t_size n);
+ void sspRW(uint8_t *in, uint8_t *out, t_size n);
#ifdef __cplusplus
}
#endif
|