diff options
Diffstat (limited to 'LUFA/Drivers/Board/Buttons.h')
-rw-r--r-- | LUFA/Drivers/Board/Buttons.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Board/Buttons.h b/LUFA/Drivers/Board/Buttons.h index d1de8d52e..4e7588c28 100644 --- a/LUFA/Drivers/Board/Buttons.h +++ b/LUFA/Drivers/Board/Buttons.h @@ -69,8 +69,8 @@ /* Includes: */
#include "../../Common/Common.h"
- #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/Buttons.h"
#elif (BOARD == BOARD_STK525)
|