diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-04 08:28:44 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-03-04 08:28:44 +0000 |
commit | f9a52f29e05620f3ba4a849072f861faefd028eb (patch) | |
tree | 6396388ff2e97ac53250a6184dd053dce38dc0d4 /os/hal/platforms/STM32F0xx | |
parent | e47644864d5d9a3ca0c201ad270ce993a1cb543f (diff) | |
download | ChibiOS-f9a52f29e05620f3ba4a849072f861faefd028eb.tar.gz ChibiOS-f9a52f29e05620f3ba4a849072f861faefd028eb.tar.bz2 ChibiOS-f9a52f29e05620f3ba4a849072f861faefd028eb.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5352 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F0xx')
-rw-r--r-- | os/hal/platforms/STM32F0xx/stm32_dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32F0xx/stm32_dma.c b/os/hal/platforms/STM32F0xx/stm32_dma.c index 3ddcdb3fd..ae8bda30a 100644 --- a/os/hal/platforms/STM32F0xx/stm32_dma.c +++ b/os/hal/platforms/STM32F0xx/stm32_dma.c @@ -233,7 +233,7 @@ bool_t dmaStreamAllocate(const stm32_dma_stream_t *dmastp, stm32_dmaisr_t func,
void *param) {
- chDbgCheck(dmastp != NULL, "dmaAllocate");
+ chDbgCheck(dmastp != NULL, "dmaStreamAllocate");
/* Checks if the stream is already taken.*/
if ((dma_streams_mask & (1 << dmastp->selfindex)) != 0)
@@ -274,11 +274,11 @@ bool_t dmaStreamAllocate(const stm32_dma_stream_t *dmastp, */
void dmaStreamRelease(const stm32_dma_stream_t *dmastp) {
- chDbgCheck(dmastp != NULL, "dmaRelease");
+ chDbgCheck(dmastp != NULL, "dmaStreamRelease");
/* Check if the streams is not taken.*/
chDbgAssert((dma_streams_mask & (1 << dmastp->selfindex)) != 0,
- "dmaRelease(), #1", "not allocated");
+ "dmaStreamRelease(), #1", "not allocated");
/* Disables the associated IRQ vector.*/
nvicDisableVector(dmastp->vector);
|