From a8a0eb825ea7208502954865ab09e7ec8a90221c Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 7 Jul 2013 19:57:19 +0200 Subject: Don't build STM32-specific code for other targets. --- rcc/rcc.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rcc/rcc.cpp') diff --git a/rcc/rcc.cpp b/rcc/rcc.cpp index 7e711f9..9f10f7c 100644 --- a/rcc/rcc.cpp +++ b/rcc/rcc.cpp @@ -1,3 +1,5 @@ +#if defined(STM32F1) || defined(STM32F3) || defined(STM32F4) + #include "rcc.h" #include "flash.h" @@ -49,3 +51,5 @@ void rcc_init() { #endif } + +#endif -- cgit v1.2.3