X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fflash25.c;h=0dd84ce7f7f85c2b164b7a80b63e29bc0b964067;hb=22a7ceee1c5d8154190c362b236cf81855ba5dd5;hp=2f90d52f5f5c34744933235caa36426f28def551;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/flash25.c b/bertos/drv/flash25.c index 2f90d52f..0dd84ce7 100644 --- a/bertos/drv/flash25.c +++ b/bertos/drv/flash25.c @@ -41,7 +41,13 @@ * \author Daniele Basile */ -#include +/* + * 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 #include #include @@ -53,13 +59,6 @@ #include #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 /** * Global definition of channel handler (usually SPI).