aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/DACv1/dac_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-03-09 19:25:49 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-03-09 19:25:49 +0000
commitc3f7c51a7d0591c4bbbe6973c19f45185227dc75 (patch)
tree475fe5749ada2c9e492a18a153f400db8e87e7b5 /os/hal/ports/STM32/LLD/DACv1/dac_lld.c
parent348784fdf2f714f8559a528f8e5ea96522b364cd (diff)
downloadChibiOS-c3f7c51a7d0591c4bbbe6973c19f45185227dc75.tar.gz
ChibiOS-c3f7c51a7d0591c4bbbe6973c19f45185227dc75.tar.bz2
ChibiOS-c3f7c51a7d0591c4bbbe6973c19f45185227dc75.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6763 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/DACv1/dac_lld.c')
-rw-r--r--os/hal/ports/STM32/LLD/DACv1/dac_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/DACv1/dac_lld.c b/os/hal/ports/STM32/LLD/DACv1/dac_lld.c
index 4eee1725a..943f388fa 100644
--- a/os/hal/ports/STM32/LLD/DACv1/dac_lld.c
+++ b/os/hal/ports/STM32/LLD/DACv1/dac_lld.c
@@ -79,7 +79,6 @@ DACDriver DACD3;
/* Driver local functions. */
/*===========================================================================*/
-
/**
* @brief Shared end/half-of-tx service routine.
*
@@ -87,6 +86,7 @@ DACDriver DACD3;
* @param[in] flags pre-shifted content of the ISR register
*/
static void dac_lld_serve_tx_interrupt(DACDriver *dacp, uint32_t flags) {
+
#if defined(STM32_DAC_DMA_ERROR_HOOK)
(void)dacp;
if ((flags & (STM32_DMA_ISR_TEIF | STM32_DMA_ISR_DMEIF)) != 0) {