aboutsummaryrefslogtreecommitdiffstats
path: root/os/io/platforms/STM32/stm32_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/io/platforms/STM32/stm32_dma.c')
-rw-r--r--os/io/platforms/STM32/stm32_dma.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/os/io/platforms/STM32/stm32_dma.c b/os/io/platforms/STM32/stm32_dma.c
index 9593a5f51..e7574b75d 100644
--- a/os/io/platforms/STM32/stm32_dma.c
+++ b/os/io/platforms/STM32/stm32_dma.c
@@ -24,15 +24,8 @@
* @{
*/
-#include <ch.h>
-
-#include "stm32_dma.h"
-
-#undef FALSE
-#undef TRUE
-#include <stm32f10x.h>
-#define FALSE 0
-#define TRUE (!FALSE)
+#include "ch.h"
+#include "hal.h"
static cnt_t dmacnt1;
#if defined(STM32F10X_HD) || defined (STM32F10X_CL)