aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32/spi.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2010-03-04 19:16:24 +0100
committerPiotr Esden-Tempski2010-03-04 19:16:24 +0100
commitd84c4030b2c90cb2c2fe0a50cfeb1e34cdf48560 (patch)
treee9e4bcf1720fe824c8bd235e30c8086b4d7927f7 /include/libopenstm32/spi.h
parent9b4b4b1c83aa01da140e48c963a2920ed0cfdcc1 (diff)
Cleaned up header inclusion.
Now all examples are including only the modules they really need. Also each header file of the library is including only the necessary headers making it possible to use these modules in parallel with other implementations that may collide with the definitions in other modules.
Diffstat (limited to 'include/libopenstm32/spi.h')
-rw-r--r--include/libopenstm32/spi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libopenstm32/spi.h b/include/libopenstm32/spi.h
index 11afa32..3090299 100644
--- a/include/libopenstm32/spi.h
+++ b/include/libopenstm32/spi.h
@@ -20,7 +20,8 @@
#ifndef LIBOPENSTM32_SPI_H
#define LIBOPENSTM32_SPI_H
-#include <libopenstm32.h>
+#include <libopenstm32/memorymap.h>
+#include <libopenstm32/common.h>
/* Registers can be accessed as 16bit or 32bit values. */