diff options
Diffstat (limited to 'LUFA/Drivers/Board/STK525/Joystick.h')
-rw-r--r-- | LUFA/Drivers/Board/STK525/Joystick.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/LUFA/Drivers/Board/STK525/Joystick.h b/LUFA/Drivers/Board/STK525/Joystick.h index 6358f957e..aab650d98 100644 --- a/LUFA/Drivers/Board/STK525/Joystick.h +++ b/LUFA/Drivers/Board/STK525/Joystick.h @@ -100,8 +100,7 @@ PORTE |= JOY_EMASK;
}
- static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
- static inline uint8_t Joystick_GetStatus(void)
+ static inline uintN_t Joystick_GetStatus(void)
{
return (((uint8_t)~PINB & JOY_BMASK) | (((uint8_t)~PINE & JOY_EMASK) >> 1));
}
|