X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/f4f44f9fc11d0ee9e0dbaf3323d095af32e8b0ef..15f84bb8f5b910de40f081ee5e8ed847c592ea17:/LUFA/Drivers/Board/Dataflash.h?ds=inline diff --git a/LUFA/Drivers/Board/Dataflash.h b/LUFA/Drivers/Board/Dataflash.h index 3174f1b6c..0197b3e2f 100644 --- a/LUFA/Drivers/Board/Dataflash.h +++ b/LUFA/Drivers/Board/Dataflash.h @@ -150,8 +150,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)