From 34e7bdf2eff0873117cbb36d4fd4ea7e8d62bc3d Mon Sep 17 00:00:00 2001 From: asterix Date: Thu, 24 Jun 2010 17:17:28 +0000 Subject: [PATCH] Reorder includes. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3945 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/clock_stm32.c | 4 +++- bertos/cpu/cortex-m3/drv/clock_stm32.h | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- 2.25.1