From: asterix Date: Tue, 20 Jul 2010 17:22:59 +0000 (+0000) Subject: Reoeder and add missing includes. X-Git-Tag: 2.6.0~288^2~52 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6f3d154da0d0b7b7110a824815b132d041cb0905;p=bertos.git Reoeder and add missing includes. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4041 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/clock_lm3s.c b/bertos/cpu/cortex-m3/drv/clock_lm3s.c index 0cd5da84..df4681ea 100644 --- a/bertos/cpu/cortex-m3/drv/clock_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/clock_lm3s.c @@ -35,10 +35,13 @@ * \author Andrea Righi */ +#include "clock_lm3s.h" + #include #include + #include -#include "clock_lm3s.h" + /* The PLL VCO frequency is 400 MHz */ #define PLL_VCO 400000000UL diff --git a/bertos/cpu/cortex-m3/drv/timer_cm3.c b/bertos/cpu/cortex-m3/drv/timer_cm3.c index e5a730bf..ac8512e4 100644 --- a/bertos/cpu/cortex-m3/drv/timer_cm3.c +++ b/bertos/cpu/cortex-m3/drv/timer_cm3.c @@ -35,10 +35,13 @@ * \author Andrea Righi */ +#include "timer_cm3.h" + #include + #include + #include -#include "timer_cm3.h" INLINE void timer_hw_setPeriod(unsigned long period) { diff --git a/bertos/cpu/cortex-m3/drv/timer_cm3.h b/bertos/cpu/cortex-m3/drv/timer_cm3.h index 1ee8b7a2..6778606d 100644 --- a/bertos/cpu/cortex-m3/drv/timer_cm3.h +++ b/bertos/cpu/cortex-m3/drv/timer_cm3.h @@ -40,6 +40,9 @@ #include "cfg/cfg_timer.h" /* CONFIG_TIMER */ +#include +#include + #if CPU_CM3_LM3S #include #elif CPU_CM3_STM32