X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/f4f44f9fc11d0ee9e0dbaf3323d095af32e8b0ef..15f84bb8f5b910de40f081ee5e8ed847c592ea17:/LUFA/Common/BoardTypes.h diff --git a/LUFA/Common/BoardTypes.h b/LUFA/Common/BoardTypes.h index ccbd4750d..10e31ac1b 100644 --- a/LUFA/Common/BoardTypes.h +++ b/LUFA/Common/BoardTypes.h @@ -89,6 +89,18 @@ /** Selects the EVK527 specific board drivers, including Temperature, Button, Dataflash, Joystick and LED drivers. */ #define BOARD_EVK527 9 + + /** Disables board drivers when operation will not be adversely affected (e.g. LEDs) - use of board drivers + * such as the Joystick driver, where the removal would adversely affect the code's operation is still disallowed. */ + #define BOARD_NONE 10 + + #if !defined(__DOXYGEN__) + #define BOARD_ BOARD_NONE + + #if !defined(BOARD) + #define BOARD BOARD_NONE + #endif + #endif #endif