From 6f3d154da0d0b7b7110a824815b132d041cb0905 Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 20 Jul 2010 17:22:59 +0000 Subject: [PATCH] Reoeder and add missing includes. git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4041 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/clock_lm3s.c | 5 ++++- bertos/cpu/cortex-m3/drv/timer_cm3.c | 5 ++++- bertos/cpu/cortex-m3/drv/timer_cm3.h | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) 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 -- 2.25.1