aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner2018-08-06 19:17:08 -0500
committerDamien George2018-08-10 16:26:25 +1000
commit3fccd78aca7ff63ebbfd44fcac3f816147ee0c6b (patch)
tree9aa64e0e1a14f9aba4249188c453aaab6ac345f0
parent5ed8226e02ae0ed44b2dc98ebe6b0f7d2e0a9887 (diff)
stm32/dma: Fix spelling of "corresponding" in two locations.
-rw-r--r--ports/stm32/dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/dma.c b/ports/stm32/dma.c
index dc1ad6c1c..1c30b5b4d 100644
--- a/ports/stm32/dma.c
+++ b/ports/stm32/dma.c
@@ -149,7 +149,7 @@ static const DMA_InitTypeDef dma_init_struct_dac = {
#define DMA_SUB_INSTANCE_AS_UINT8(dma_channel) (dma_channel)
-#define DMA1_ENABLE_MASK (0x007f) // Bits in dma_enable_mask corresponfing to DMA1 (7 channels)
+#define DMA1_ENABLE_MASK (0x007f) // Bits in dma_enable_mask corresponding to DMA1 (7 channels)
#define DMA2_ENABLE_MASK (0x0f80) // Bits in dma_enable_mask corresponding to DMA2 (only 5 channels)
// DMA1 streams
@@ -280,7 +280,7 @@ static const uint8_t dma_irqn[NSTREAM] = {
#define DMA_SUB_INSTANCE_AS_UINT8(dma_request) (dma_request)
-#define DMA1_ENABLE_MASK (0x007f) // Bits in dma_enable_mask corresponfing to DMA1
+#define DMA1_ENABLE_MASK (0x007f) // Bits in dma_enable_mask corresponding to DMA1
#define DMA2_ENABLE_MASK (0x3f80) // Bits in dma_enable_mask corresponding to DMA2
// These descriptors are ordered by DMAx_Channel number, and within a channel by request