aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f2/rng.h
diff options
context:
space:
mode:
authorKarl Palsson2013-02-06 11:47:23 +0000
committerKarl Palsson2013-02-06 11:47:23 +0000
commit7afc13930f86f226cac27abc63a68afed0b119ec (patch)
tree16fcf9c8f364230ad942be91770ab6bb6ee60690 /include/libopencm3/stm32/f2/rng.h
parente4c0a50286cd7bdca76f7bc4dfa973668114e9ec (diff)
[stm32] Use common memorymap include for consistency
Most peripheral headers simply include <libopencm3/stm32/memorymap.h> which, like the rest of libopencm3 requires the correct compiler define flag to be set. A few peripherals were directly including the platform include, libopencm3/stm32/xx/memorymap.h, and in some of those cases it wasn't even correctly including the correct platform. (Likely the result of copy/paste errors) These direct includes have been eliminated
Diffstat (limited to 'include/libopencm3/stm32/f2/rng.h')
-rw-r--r--include/libopencm3/stm32/f2/rng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/f2/rng.h b/include/libopencm3/stm32/f2/rng.h
index 63d03fe..403c7c7 100644
--- a/include/libopencm3/stm32/f2/rng.h
+++ b/include/libopencm3/stm32/f2/rng.h
@@ -18,7 +18,7 @@
#ifndef LIBOPENCM3_RNG_F2_H
#define LIBOPENCM3_RNG_F2_H
-#include <libopencm3/stm32/f2/memorymap.h>
+#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32/common/rng_common_f24.h>
#endif