summaryrefslogtreecommitdiff
path: root/rcc/rcc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rcc/rcc.cpp')
-rw-r--r--rcc/rcc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcc/rcc.cpp b/rcc/rcc.cpp
index 67bb948..ed42082 100644
--- a/rcc/rcc.cpp
+++ b/rcc/rcc.cpp
@@ -118,7 +118,7 @@ void rcc_init() {
#endif
}
-#if defined(STM32F4)
+#if defined(STM32F4) || defined(STM32F7)
void rcc_init(uint32_t osc_mhz, uint32_t sysclk_mhz) {
// Initialize flash.
flash_init();