aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h
index e562c24f3..7918d834d 100644
--- a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h
+++ b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.h
@@ -146,11 +146,11 @@ typedef struct {
/**
* @brief Returns the number of transfers to be performed.
* @note This function can be invoked in both ISR or thread context.
- * @pre The stream must have been allocated using @p dmaChannelAllocate().
- * @post After use the stream can be released using @p dmaChannelRelease().
+ * @pre The channel must have been allocated using @p dmaChannelAllocate().
+ * @post After use the channel can be released using @p dmaChannelRelease().
*
- * @param[in] dmachp pointer to a @p sama_dma_channel_t structure
- * @return The number of transfers to be performed.
+ * @param[in] dmachp pointer to a @p sama_dma_channel_t structure
+ * @return The number of transfers to be performed.
*
* @special
*/