X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/a147cee95f5373902242e7b34b92f7103fc05ae4..5563da6a626a7301e5064a8df8b3a9b03421f8aa:/LUFA/CodeTemplates/DriverStubs/Buttons.h diff --git a/LUFA/CodeTemplates/DriverStubs/Buttons.h b/LUFA/CodeTemplates/DriverStubs/Buttons.h index f1a184600..a1de82d2c 100644 --- a/LUFA/CodeTemplates/DriverStubs/Buttons.h +++ b/LUFA/CodeTemplates/DriverStubs/Buttons.h @@ -67,6 +67,11 @@ // TODO: Initialize the appropriate port pins as an inputs here, with pull-ups } + static inline void Buttons_Disable(void) + { + // TODO: Clear the appropriate port pins as high impedance inputs here + } + static inline uint8_t Buttons_GetStatus(void) ATTR_WARN_UNUSED_RESULT; static inline uint8_t Buttons_GetStatus(void) {