X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7f9f97c792dee6875fbca9806422bdd7d6c5a657..d03d6513d0d24cf63225c8d3dfa07675d9107f40:/LUFA/Drivers/Board/Dataflash.h diff --git a/LUFA/Drivers/Board/Dataflash.h b/LUFA/Drivers/Board/Dataflash.h index 3174f1b6c..d55774d87 100644 --- a/LUFA/Drivers/Board/Dataflash.h +++ b/LUFA/Drivers/Board/Dataflash.h @@ -29,6 +29,7 @@ */ /** \file + * \brief Master include file for the board dataflash IC driver. * * This file is the master dispatch header file for the board-specific dataflash driver, for boards containing * dataflash ICs for external non-volatile storage. @@ -62,6 +63,7 @@ /* Macros: */ #if !defined(__DOXYGEN__) + #define __INCLUDE_FROM_DATAFLASH_H #define INCLUDE_FROM_DATAFLASH_H #endif @@ -150,8 +152,8 @@ } /* Includes: */ - #if !defined(BOARD) - #error BOARD must be set in makefile to a value specified in BoardTypes.h. + #if (BOARD == BOARD_NONE) + #error The Board Buttons driver cannot be used if the makefile BOARD option is not set. #elif (BOARD == BOARD_USBKEY) #include "USBKEY/Dataflash.h" #elif (BOARD == BOARD_STK525)