mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-21 00:20:22 +02:00
Revert changes made for the partial port to the AVR32 architecture.
This commit is contained in:
@@ -81,7 +81,8 @@
|
||||
PORTD |= BUTTONS_BUTTON1;
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user