summaryrefslogtreecommitdiff
path: root/rcc/rcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rcc/rcc.cpp')
-rw-r--r--rcc/rcc.cpp4
1 files changed, 4 insertions, 0 deletions
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