#endif\r
\r
/* Preprocessor Checks: */\r
- #if !defined(INCLUDE_FROM_BUTTONS_H)\r
+ #if !defined(__INCLUDE_FROM_BUTTONS_H)\r
#error Do not include this file directly. Include LUFA/Drivers/Board/Buttons.h instead.\r
#endif\r
\r
#if !defined(__DOXYGEN__)\r
static inline void Buttons_Init(void)\r
{\r
- AVR32_GPIO.port[BUTTONS_PORT].gpers = (BUTTONS_BUTTON1 | BUTTONS_BUTTON2);\r
- AVR32_GPIO.port[BUTTONS_PORT].puers = (BUTTONS_BUTTON1 | BUTTONS_BUTTON2);\r
+ AVR32_GPIO.port[BUTTONS_PORT].gpers = (BUTTONS_BUTTON1 | BUTTONS_BUTTON2);\r
+ AVR32_GPIO.port[BUTTONS_PORT].puers = (BUTTONS_BUTTON1 | BUTTONS_BUTTON2);\r
}\r
\r
- static inline uintN_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;\r
- static inline uintN_t Buttons_GetStatus(void)\r
+ static inline uint32_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT;\r
+ static inline uint32_t Buttons_GetStatus(void)\r
{\r
return (~(AVR32_GPIO.port[JOY_MOVE_PORT].pvr & (BUTTONS_BUTTON1 | BUTTONS_BUTTON2)));\r
}\r