summaryrefslogtreecommitdiff
path: root/quantum/joystick.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/joystick.c')
-rw-r--r--quantum/joystick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/joystick.c b/quantum/joystick.c
index 057a018dff..02818e4acd 100644
--- a/quantum/joystick.c
+++ b/quantum/joystick.c
@@ -111,7 +111,7 @@ int16_t joystick_read_axis(uint8_t axis) {
return ranged_val;
}
-void joystick_read_axes() {
+void joystick_read_axes(void) {
#if JOYSTICK_AXIS_COUNT > 0
for (int i = 0; i < JOYSTICK_AXIS_COUNT; ++i) {
if (joystick_axes[i].input_pin == JS_VIRTUAL_AXIS) {