aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/Buttons.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/Board/Buttons.h')
-rw-r--r--LUFA/Drivers/Board/Buttons.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/Drivers/Board/Buttons.h b/LUFA/Drivers/Board/Buttons.h
index 8727507da..395d7901a 100644
--- a/LUFA/Drivers/Board/Buttons.h
+++ b/LUFA/Drivers/Board/Buttons.h
@@ -92,7 +92,9 @@
#include "../../Common/Common.h"
#if (BOARD == BOARD_NONE)
- #error The Board Buttons driver cannot be used if the makefile BOARD option is not set.
+ #define BUTTONS_BUTTON1 0
+ static inline void Buttons_Init(void) {};
+ static inline uint_reg_t Buttons_GetStatus(void) { return 0; };
#elif (BOARD == BOARD_USBKEY)
#include "AVR8/USBKEY/Buttons.h"
#elif (BOARD == BOARD_STK525)