From: arighi Date: Fri, 9 Apr 2010 14:27:32 +0000 (+0000) Subject: Coding style fixes. X-Git-Tag: 2.5.0~502 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=ca25665b56887eee80e5bf0ea49c0bfeb41101fb;p=bertos.git Coding style fixes. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3406 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 1c643b58..1bc63f7a 100644 --- a/bertos/cpu/cortex-m3/drv/clock_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/clock_lm3s.c @@ -37,7 +37,7 @@ #include #include -#include "io/lm3s.h" +#include #include "clock_lm3s.h" /* The PLL VCO frequency is 400 MHz */ diff --git a/bertos/cpu/cortex-m3/drv/gpio_lm3s.c b/bertos/cpu/cortex-m3/drv/gpio_lm3s.c index 1c2549f2..2f887b59 100644 --- a/bertos/cpu/cortex-m3/drv/gpio_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/gpio_lm3s.c @@ -37,7 +37,7 @@ #include #include -#include "io/lm3s.h" +#include #include "gpio_lm3s.h" /** diff --git a/bertos/cpu/cortex-m3/drv/gpio_lm3s.h b/bertos/cpu/cortex-m3/drv/gpio_lm3s.h index 21afd327..de1f397e 100644 --- a/bertos/cpu/cortex-m3/drv/gpio_lm3s.h +++ b/bertos/cpu/cortex-m3/drv/gpio_lm3s.h @@ -36,6 +36,8 @@ #ifndef GPIO_LM3S_H #define GPIO_LM3S_H +#include + /** * GPIO mode */ diff --git a/bertos/cpu/cortex-m3/drv/irq_lm3s.c b/bertos/cpu/cortex-m3/drv/irq_lm3s.c index 370fbab0..98112cad 100644 --- a/bertos/cpu/cortex-m3/drv/irq_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/irq_lm3s.c @@ -38,7 +38,7 @@ #include /* ASSERT() */ #include /* LOG_ERR() */ #include -#include "io/lm3s.h" +#include #include "irq_lm3s.h" static void (*irq_table[NUM_INTERRUPTS])(void) diff --git a/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c b/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c index a0c7209f..e96c371f 100644 --- a/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c @@ -35,12 +35,12 @@ * \author Andrea Righi */ +#include #include /* for BV() */ +#include /* __delay() */ +#include +#include #include "kdebug_lm3s.h" -#include "clock_lm3s.h" /* __delay() */ -#include "cfg/cfg_debug.h" -#include "io/lm3s.h" -#include "gpio_lm3s.h" INLINE void uart_disable(size_t base) { diff --git a/bertos/cpu/cortex-m3/drv/timer_lm3s.c b/bertos/cpu/cortex-m3/drv/timer_lm3s.c index bbf81176..096bff92 100644 --- a/bertos/cpu/cortex-m3/drv/timer_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/timer_lm3s.c @@ -37,9 +37,8 @@ #include #include -#include "io/lm3s.h" - -#include "irq_lm3s.h" +#include +#include #include "timer_lm3s.h" INLINE void timer_hw_setPeriod(unsigned long period)