From: asterix Date: Thu, 24 Jun 2010 17:17:28 +0000 (+0000) Subject: Reorder includes. X-Git-Tag: 2.6.0~362 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=34e7bdf2eff0873117cbb36d4fd4ea7e8d62bc3d;p=bertos.git Reorder includes. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3945 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/clock_stm32.c b/bertos/cpu/cortex-m3/drv/clock_stm32.c index 8e9e86d0..c1db8b6b 100644 --- a/bertos/cpu/cortex-m3/drv/clock_stm32.c +++ b/bertos/cpu/cortex-m3/drv/clock_stm32.c @@ -35,10 +35,12 @@ * \author Andrea Righi */ +#include "clock_stm32.h" + #include #include + #include -#include "clock_stm32.h" struct RCC *RCC; diff --git a/bertos/cpu/cortex-m3/drv/clock_stm32.h b/bertos/cpu/cortex-m3/drv/clock_stm32.h index 4150a44d..2e7c09a3 100644 --- a/bertos/cpu/cortex-m3/drv/clock_stm32.h +++ b/bertos/cpu/cortex-m3/drv/clock_stm32.h @@ -38,6 +38,9 @@ #ifndef CLOCK_STM32_H #define CLOCK_STM32_H + +#include + /* RCC registers bit address */ #define RCC_OFFSET (RCC_BASE - PERIPH_BASE)