diff options
Diffstat (limited to 'LUFA/DriverStubs/Joystick.h')
-rw-r--r-- | LUFA/DriverStubs/Joystick.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LUFA/DriverStubs/Joystick.h b/LUFA/DriverStubs/Joystick.h index 859225f13..21e306f1e 100644 --- a/LUFA/DriverStubs/Joystick.h +++ b/LUFA/DriverStubs/Joystick.h @@ -82,7 +82,8 @@ // TODO: Initialize joystick port pins as inputs with pull-ups
}
- static inline uintN_t Joystick_GetStatus(void)
+ static inline uint8_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT;
+ static inline uint8_t Joystick_GetStatus(void)
{
// TODO: Return current joystick position data which can be obtained by masking against the JOY_* macros
}
|