You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by be...@apache.org on 2020/09/02 20:57:40 UTC
[mynewt-core] 01/01: mcu/dialog/da1469x: Fix wordlength when
MCU_DMA_CHAN_MAX > 8
This is an automated email from the ASF dual-hosted git repository.
benmccrea pushed a commit to branch fix/da1469x_dma_max_chans
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 33feedbe5325aa9658bc424ab9c89a558f171e50
Author: Ben McCrea <bm...@juul.com>
AuthorDate: Wed Sep 2 13:57:08 2020 -0700
mcu/dialog/da1469x: Fix wordlength when MCU_DMA_CHAN_MAX > 8
---
hw/mcu/dialog/da1469x/src/da1469x_dma.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/mcu/dialog/da1469x/src/da1469x_dma.c b/hw/mcu/dialog/da1469x/src/da1469x_dma.c
index bff64cb..b42c618 100644
--- a/hw/mcu/dialog/da1469x/src/da1469x_dma.c
+++ b/hw/mcu/dialog/da1469x/src/da1469x_dma.c
@@ -46,11 +46,11 @@ struct da1469x_dma_interrupt_cfg {
};
#if (MCU_DMA_CHAN_MAX) > 8
-static uint8_t g_da1469x_dma_acquired;
-static uint8_t g_da1469x_dma_isr_set;
-#else
static uint16_t g_da1469x_dma_acquired;
static uint16_t g_da1469x_dma_isr_set;
+#else
+static uint8_t g_da1469x_dma_acquired;
+static uint8_t g_da1469x_dma_isr_set;
#endif
static struct da1469x_dma_interrupt_cfg g_da1469x_dma_isr_cfg[MCU_DMA_CHAN_MAX];