aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/DriverStubs/Joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/DriverStubs/Joystick.h')
-rw-r--r--LUFA/DriverStubs/Joystick.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/LUFA/DriverStubs/Joystick.h b/LUFA/DriverStubs/Joystick.h
index 21e306f1e..859225f13 100644
--- a/LUFA/DriverStubs/Joystick.h
+++ b/LUFA/DriverStubs/Joystick.h
@@ -82,8 +82,7 @@
// TODO: Initialize joystick port pins as inputs with pull-ups
}
- 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)
{
// TODO: Return current joystick position data which can be obtained by masking against the JOY_* macros
}