aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/dma.c
diff options
context:
space:
mode:
authorPerry Hung <iperry@gmail.com>2011-05-12 04:48:10 -0400
committerPerry Hung <iperry@gmail.com>2011-05-12 05:00:47 -0400
commit949cc878979384c21f49017cf4affdcaa28e689b (patch)
tree01f05282f025b23c330963463e698325992e2bb0 /libmaple/dma.c
parent93bcde9c12582ca441a2aefb6148286e3adfe899 (diff)
downloadlibrambutan-949cc878979384c21f49017cf4affdcaa28e689b.tar.gz
librambutan-949cc878979384c21f49017cf4affdcaa28e689b.zip
libmaple: Fix warnings in libmaple source files
-Add -Wall, -Werror to libmaple/* -Fix warnings
Diffstat (limited to 'libmaple/dma.c')
-rw-r--r--libmaple/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/dma.c b/libmaple/dma.c
index 04cdcea..57baa13 100644
--- a/libmaple/dma.c
+++ b/libmaple/dma.c
@@ -244,9 +244,9 @@ dma_irq_cause dma_get_irq_cause(dma_dev *dev, dma_channel channel) {
* order to fail fast, mimic the DMA controller's behavior
* when an error occurs. */
dma_disable(dev, channel);
- return DMA_TRANSFER_ERROR;
}
#endif
+ return DMA_TRANSFER_ERROR;
}
/**