Added ENABLE_TELNET_SERVER compile time option to the Webserver project to disable...
[pub/USBasp.git] / LUFA / Drivers / Board / Dataflash.h
index 3174f1b..762142c 100644 (file)
@@ -62,6 +62,7 @@
 \r
        /* Macros: */\r
        #if !defined(__DOXYGEN__)\r
+               #define __INCLUDE_FROM_DATAFLASH_H\r
                #define INCLUDE_FROM_DATAFLASH_H\r
        #endif\r
 \r
                        }\r
 \r
                /* Includes: */\r
-                       #if !defined(BOARD)\r
-                               #error BOARD must be set in makefile to a value specified in BoardTypes.h.\r
+                       #if (BOARD == BOARD_NONE)\r
+                               #error The Board Buttons driver cannot be used if the makefile BOARD option is not set.\r
                        #elif (BOARD == BOARD_USBKEY)\r
                                #include "USBKEY/Dataflash.h"\r
                        #elif (BOARD == BOARD_STK525)\r