From 5a74dd3c2e3aa7c2a72f1bfe69a39b047710c429 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 23 Nov 2011 22:01:13 +0000 Subject: 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 --- os/hal/platforms/STM32L1xx/hal_lld.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'os/hal/platforms/STM32L1xx') diff --git a/os/hal/platforms/STM32L1xx/hal_lld.h b/os/hal/platforms/STM32L1xx/hal_lld.h index b6b0060d6..fe2909536 100644 --- a/os/hal/platforms/STM32L1xx/hal_lld.h +++ b/os/hal/platforms/STM32L1xx/hal_lld.h @@ -39,10 +39,6 @@ #include "stm32l1xx.h" -/* STM32 DMA and RCC helpers.*/ -#include "stm32_dma.h" -#include "stm32_rcc.h" - /*===========================================================================*/ /* Driver constants. */ /*===========================================================================*/ @@ -1009,6 +1005,10 @@ typedef struct { /* External declarations. */ /*===========================================================================*/ +/* STM32 DMA and RCC helpers.*/ +#include "stm32_dma.h" +#include "stm32_rcc.h" + #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.3