summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-31 15:34:36 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-05-31 15:34:36 -0500
commit721fe34aaea8c2ff86d76b27122c9ed72b5064f4 (patch)
tree3f24a0b487e1467a144a5b83bbb9e9de70bdbd0e /c/src/lib/libbsp/arm
parentsamples - Eliminate missing prototype warnings (diff)
downloadrtems-721fe34aaea8c2ff86d76b27122c9ed72b5064f4.tar.bz2
Fix C files which had two semi-colons at EOL
Diffstat (limited to 'c/src/lib/libbsp/arm')
-rw-r--r--c/src/lib/libbsp/arm/nds/libfat/source/disc_io/io_fcsr.c2
-rw-r--r--c/src/lib/libbsp/arm/nds/libnds/source/common/card.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/arm/nds/libfat/source/disc_io/io_fcsr.c b/c/src/lib/libbsp/arm/nds/libfat/source/disc_io/io_fcsr.c
index bf4d276fb9..07ab130304 100644
--- a/c/src/lib/libbsp/arm/nds/libfat/source/disc_io/io_fcsr.c
+++ b/c/src/lib/libbsp/arm/nds/libfat/source/disc_io/io_fcsr.c
@@ -121,7 +121,7 @@ bool _FCSR_readSectors (u32 sector, u32 numSectors, void* buffer)
int i;
bool flagSramSector = false;
int readLength = numSectors * BYTES_PER_READ;
- u8* src;;
+ u8* src;
u8* dst;
// Find which region this read is in
diff --git a/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c b/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
index d47d5d04f5..7cde3811e7 100644
--- a/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
+++ b/c/src/lib/libbsp/arm/nds/libnds/source/common/card.c
@@ -44,7 +44,7 @@ void cardWriteCommand(const uint8 * command) {
//---------------------------------------------------------------------------------
void cardPolledTransfer(uint32 flags, uint32 * destination, uint32 length, const uint8 * command) {
//---------------------------------------------------------------------------------
- u32 data;;
+ u32 data;
cardWriteCommand(command);
CARD_CR2 = flags;
uint32 * target = destination + length;
@@ -68,7 +68,7 @@ void cardStartTransfer(const uint8 * command, uint32 * destination, int channel,
// Set up a DMA channel to transfer a word every time the card makes one
DMA_SRC(channel) = (uint32)&CARD_DATA_RD;
DMA_DEST(channel) = (uint32)destination;
- DMA_CR(channel) = DMA_ENABLE | DMA_START_CARD | DMA_32_BIT | DMA_REPEAT | DMA_SRC_FIX | 0x0001;;
+ DMA_CR(channel) = DMA_ENABLE | DMA_START_CARD | DMA_32_BIT | DMA_REPEAT | DMA_SRC_FIX | 0x0001;
CARD_CR2 = flags;
}