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:39 UTC

[mynewt-core] branch fix/da1469x_dma_max_chans created (now 33feedb)

This is an automated email from the ASF dual-hosted git repository.

benmccrea pushed a change to branch fix/da1469x_dma_max_chans
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git.


      at 33feedb  mcu/dialog/da1469x: Fix wordlength when MCU_DMA_CHAN_MAX > 8

This branch includes the following new commits:

     new 33feedb  mcu/dialog/da1469x: Fix wordlength when MCU_DMA_CHAN_MAX > 8

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[mynewt-core] 01/01: mcu/dialog/da1469x: Fix wordlength when MCU_DMA_CHAN_MAX > 8

Posted by be...@apache.org.
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];