diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-06-07 17:53:23 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-06-07 17:53:23 +0000 |
commit | be1e6b03d4a49b6fa16c3368435089f8706fb566 (patch) | |
tree | ea4aca882019de105a00451e379ca55955c38dfb /ports | |
parent | b2e6f6a6a5ee0af322472c151565be6cba0e1fa0 (diff) | |
download | ChibiOS-be1e6b03d4a49b6fa16c3368435089f8706fb566.tar.gz ChibiOS-be1e6b03d4a49b6fa16c3368435089f8706fb566.tar.bz2 ChibiOS-be1e6b03d4a49b6fa16c3368435089f8706fb566.zip |
Adjusted PAL support for LPC214x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1026 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ARM7-LPC214x/lpc214x_ssp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/ARM7-LPC214x/lpc214x_ssp.c b/ports/ARM7-LPC214x/lpc214x_ssp.c index 00db41cbf..790182576 100644 --- a/ports/ARM7-LPC214x/lpc214x_ssp.c +++ b/ports/ARM7-LPC214x/lpc214x_ssp.c @@ -25,7 +25,7 @@ */
#include <ch.h>
-#include <ioports.h>
+#include <pal.h>
#include "lpc214x.h"
#include "lpc214x_ssp.h"
@@ -44,7 +44,7 @@ void sspAcquireBus(void) { #if LPC214x_SSP_USE_MUTEX
chSemWait(&me);
#endif
- chPortClear(IOPORT_A, (1 << 20));
+ palClearPad(IOPORT_A, 20);
}
/**
@@ -54,7 +54,7 @@ void sspAcquireBus(void) { */
void sspReleaseBus(void) {
- chPortSet(IOPORT_A, (1 << 20));
+ palClearPad(IOPORT_A, 20);
#if LPC214x_SSP_USE_MUTEX
chSemSignal(&me);
#endif
|