New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will...
[pub/USBasp.git] / LUFA / Drivers / Board / Dataflash.h
index 3174f1b..0197b3e 100644 (file)
                        }\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