/*\r
LUFA Library\r
- Copyright (C) Dean Camera, 2011.\r
+ Copyright (C) Dean Camera, 2012.\r
\r
dean [at] fourwalledcubicle [dot] com\r
www.lufa-lib.org\r
*/\r
\r
/*\r
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
\r
Permission to use, copy, modify, distribute, and sell this\r
software and its documentation for any purpose is hereby granted\r
PORTD |= BUTTONS_BUTTON1;\r
}\r
\r
+ static inline void Buttons_Disable(void)\r
+ {\r
+ DDRD &= ~BUTTONS_BUTTON1;\r
+ PORTD &= ~BUTTONS_BUTTON1;\r
+ }\r
+\r
static inline uint8_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;\r
static inline uint8_t Buttons_GetStatus(void)\r
{\r