Update Temperature board driver to be AVR32 compatible when the ADC peripheral driver...
[pub/USBasp.git] / LUFA / Drivers / Board / EVK527 / Buttons.h
index cb8cdc5..950c574 100644 (file)
@@ -68,7 +68,7 @@
                #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
@@ -85,8 +85,7 @@
                                PORTE |=  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
+                       static inline uintN_t Buttons_GetStatus(void)\r
                        {\r
                                return ((PINE & BUTTONS_BUTTON1) ^ BUTTONS_BUTTON1);\r
                        }\r