aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F4xx/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-23 22:01:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-11-23 22:01:13 +0000
commit5a74dd3c2e3aa7c2a72f1bfe69a39b047710c429 (patch)
tree29343b11ea222b18949d50ba498696563aad1467 /os/hal/platforms/STM32F4xx/hal_lld.h
parent63ae69408a2839eaa595117c126be11b58996416 (diff)
downloadChibiOS-5a74dd3c2e3aa7c2a72f1bfe69a39b047710c429.tar.gz
ChibiOS-5a74dd3c2e3aa7c2a72f1bfe69a39b047710c429.tar.bz2
ChibiOS-5a74dd3c2e3aa7c2a72f1bfe69a39b047710c429.zip
Fixed a problem of inclusion order that caused DMA2 problems in STM32 HAls.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3522 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F4xx/hal_lld.h')
-rw-r--r--os/hal/platforms/STM32F4xx/hal_lld.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32F4xx/hal_lld.h b/os/hal/platforms/STM32F4xx/hal_lld.h
index bdb8cb86b..29018e86f 100644
--- a/os/hal/platforms/STM32F4xx/hal_lld.h
+++ b/os/hal/platforms/STM32F4xx/hal_lld.h
@@ -40,10 +40,6 @@
#include "stm32f4xx.h"
-/* STM32 DMA and RCC helpers.*/
-#include "stm32_dma.h"
-#include "stm32_rcc.h"
-
/*===========================================================================*/
/* Driver constants. */
/*===========================================================================*/
@@ -1344,6 +1340,10 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
+/* STM32 DMA and RCC helpers.*/
+#include "stm32_dma.h"
+#include "stm32_rcc.h"
+
#ifdef __cplusplus
extern "C" {
#endif