diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-10-27 14:37:52 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-10-27 14:37:52 +0000 |
commit | 8b7474c1fc15e24fe958f797159359878808780e (patch) | |
tree | bc0a7944dfeefebdaee5e0ed579273d2a831784c /os/hal/ports/STM32/STM32F1xx | |
parent | c9a8ec92c8646dbce832d4a6cc56bf92db73abe6 (diff) | |
download | ChibiOS-8b7474c1fc15e24fe958f797159359878808780e.tar.gz ChibiOS-8b7474c1fc15e24fe958f797159359878808780e.tar.bz2 ChibiOS-8b7474c1fc15e24fe958f797159359878808780e.zip |
DMAv1 fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8395 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F1xx')
-rw-r--r-- | os/hal/ports/STM32/STM32F1xx/hal_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32F1xx/hal_lld.c b/os/hal/ports/STM32/STM32F1xx/hal_lld.c index 7344fb103..2bc7ce9d0 100644 --- a/os/hal/ports/STM32/STM32F1xx/hal_lld.c +++ b/os/hal/ports/STM32/STM32F1xx/hal_lld.c @@ -104,10 +104,10 @@ OSAL_IRQ_HANDLER(STM32_DMA2_CH45_HANDLER) { OSAL_IRQ_PROLOGUE();
/* Check on channel 4 of DMA2.*/
- dmaServeInterrupt(DMA2, 4);
+ dmaServeInterrupt(STM32_DMA2_STREAM4);
/* Check on channel 5 of DMA2.*/
- dmaServeInterrupt(DMA2, 5);
+ dmaServeInterrupt(STM32_DMA2_STREAM5);
OSAL_IRQ_EPILOGUE();
}
|