Add new ARCH option to the makefiles to (eventually) specify the target device archit...
[pub/USBasp.git] / LUFA / Drivers / Board / Dataflash.h
index 852d819..06c1e62 100644 (file)
@@ -44,7 +44,7 @@
  */
 
 /** \ingroup Group_BoardDrivers
- *  @defgroup Group_Dataflash Dataflash Driver - LUFA/Drivers/Board/Dataflash.h
+ *  \defgroup Group_Dataflash Dataflash Driver - LUFA/Drivers/Board/Dataflash.h
  *
  *  \section Sec_Dependencies Module Source Dependencies
  *  The following files must be built with any user project that uses this module:
        #endif
 
        /* Includes: */
-       #include "../Peripheral/SPI.h"
        #include "../../Common/Common.h"
+       #include "../Peripheral/SPI.h"
 
        /* Enable C linkage for C++ Compilers: */
                #if defined(__cplusplus)
                                #include "XPLAIN/Dataflash.h"
                        #elif (BOARD == BOARD_EVK527)
                                #include "EVK527/Dataflash.h"
-                       #elif (BOARD == BOARD_USER)
-                               #include "Board/Dataflash.h"
                        #else
-                               #error The selected board does not contain a dataflash IC.
+                               #include "Board/Dataflash.h"
                        #endif
 
        /* Disable C linkage for C++ Compilers: */