aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32/rcc.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2010-02-22 10:01:55 +0100
committerPiotr Esden-Tempski2010-02-22 10:01:55 +0100
commitefb510f526c9f6c103d378d9e781c3fca6060c95 (patch)
tree3d251559f69e0e2b743278f588716a3f60a142a3 /include/libopenstm32/rcc.h
parent94ccc164db7fb59f82086d964886bbc74683eedf (diff)
Modified include model of some files.
This model allows using libopenstm32 in parallel with other stm32 firmware libraries. It is not yet complete change to all code but a start. Only changed parts that I tested.
Diffstat (limited to 'include/libopenstm32/rcc.h')
-rw-r--r--include/libopenstm32/rcc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libopenstm32/rcc.h b/include/libopenstm32/rcc.h
index 0ea7de5..2d9c2a0 100644
--- a/include/libopenstm32/rcc.h
+++ b/include/libopenstm32/rcc.h
@@ -21,7 +21,8 @@
#ifndef LIBOPENSTM32_RCC_H
#define LIBOPENSTM32_RCC_H
-#include <libopenstm32.h>
+#include <libopenstm32/memorymap.h>
+#include <libopenstm32/common.h>
/* Note: Regs/bits marked (**) only exist in "connectivity line" STM32s. */
/* Note: Regs/bits marked (XX) do NOT exist in "connectivity line" STM32s. */