X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2590452104c569f64aeefba3b06734035fb77d66..a9e0935a90346beb0c981924becc1f55d969a08b:/LUFA/Drivers/Board/STK526/Buttons.h?ds=sidebyside diff --git a/LUFA/Drivers/Board/STK526/Buttons.h b/LUFA/Drivers/Board/STK526/Buttons.h index 56af91f29..2b69b7bcb 100644 --- a/LUFA/Drivers/Board/STK526/Buttons.h +++ b/LUFA/Drivers/Board/STK526/Buttons.h @@ -29,6 +29,7 @@ */ /** \file + * \brief Board specific Buttons driver header for the STK526. * * Board specific Buttons driver header for the STK526. * @@ -85,8 +86,8 @@ PORTD |= BUTTONS_BUTTON1; } - static inline uintN_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT; - static inline uintN_t Buttons_GetStatus(void) + static inline uint8_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT; + static inline uint8_t Buttons_GetStatus(void) { return ((PIND & BUTTONS_BUTTON1) ^ BUTTONS_BUTTON1); }