projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Inclue macros for BV.
[bertos.git]
/
bertos
/
drv
/
flash25.c
diff --git
a/bertos/drv/flash25.c
b/bertos/drv/flash25.c
index 2f90d52f5f5c34744933235caa36426f28def551..0dd84ce7f7f85c2b164b7a80b63e29bc0b964067 100644
(file)
--- a/
bertos/drv/flash25.c
+++ b/
bertos/drv/flash25.c
@@
-41,7
+41,13
@@
* \author Daniele Basile <asterix@develer.com>
*/
* \author Daniele Basile <asterix@develer.com>
*/
-#include <avr/io.h>
+/*
+ * We use a spi bus, thus include hardware specific definition.
+ * If you use another channel you must redefine this macros.
+ */
+#include "hw_spi.h"
+
+#include <appconfig.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
@@
-53,13
+59,6
@@
#include <kern/proc.h>
#endif
#include <kern/proc.h>
#endif
-/*
- * We use a spi bus, thus include hardware specific definition.
- * If you use another channel you must redefine this macros.
- */
-#include "hw_spi.h"
-
-#include <appconfig.h>
/**
* Global definition of channel handler (usually SPI).
/**
* Global definition of channel handler (usually SPI).