X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2590452104c569f64aeefba3b06734035fb77d66..a9e0935a90346beb0c981924becc1f55d969a08b:/LUFA/DriverStubs/Buttons.h diff --git a/LUFA/DriverStubs/Buttons.h b/LUFA/DriverStubs/Buttons.h index 8c97cd750..deab56e9e 100644 --- a/LUFA/DriverStubs/Buttons.h +++ b/LUFA/DriverStubs/Buttons.h @@ -70,7 +70,8 @@ // TODO: Initialize the appropriate port pins as an inputs here, with pull-ups } - 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) { // TODO: Return current button status here, debounced if required }