aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
diff options
context:
space:
mode:
authoredolomb <none@example.com>2017-08-25 08:38:06 +0000
committeredolomb <none@example.com>2017-08-25 08:38:06 +0000
commit78b0e26049801b6b843bfb8355e26e26809494f4 (patch)
tree1c4017e9038c6ae135ba85ae7bbc5fb4bee200e8 /os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
parentb0bd45756ffd262fffc9e8fa06fa52aa1ec92e15 (diff)
downloadChibiOS-78b0e26049801b6b843bfb8355e26e26809494f4.tar.gz
ChibiOS-78b0e26049801b6b843bfb8355e26e26809494f4.tar.bz2
ChibiOS-78b0e26049801b6b843bfb8355e26e26809494f4.zip
Added control on callback calling
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10480 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c')
-rw-r--r--os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
index 6fc51c1f9..9537fa6b0 100644
--- a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
+++ b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
@@ -172,9 +172,9 @@ OSAL_IRQ_HANDLER(dmaHandler) {
}
}
/* Execute callback */
- //if (pendingInt && channel->dma_func) {
+ if (pendingInt && channel->dma_func) {
channel->dma_func(channel->dma_param,cis);
- //}
+ }
}
}
OSAL_IRQ_EPILOGUE();