From 721fe34aaea8c2ff86d76b27122c9ed72b5064f4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 31 May 2012 15:34:36 -0500 Subject: Fix C files which had two semi-colons at EOL --- c/src/lib/libbsp/arm/nds/libfat/source/disc_io/io_fcsr.c | 2 +- c/src/lib/libbsp/arm/nds/libnds/source/common/card.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/arm') 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; } -- cgit v1.2.3