New BOARD value option BOARD_NONE (equivelent to not specifying BOARD) which will...
[pub/USBasp.git] / LUFA / Drivers / Board / Buttons.h
index d1de8d5..4e7588c 100644 (file)
@@ -69,8 +69,8 @@
        /* Includes: */\r
        #include "../../Common/Common.h"\r
        \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/Buttons.h"\r
        #elif (BOARD == BOARD_STK525)\r