summaryrefslogtreecommitdiffstats
path: root/quantum/joystick.c
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2023-04-26 16:32:15 +0800
committerlokher <lokher@gmail.com>2023-04-26 16:32:15 +0800
commite4f4ceaf3f2e3d25fb282273a81f9b58790fc427 (patch)
treec0a257eab0ffe5238fdf2c04882e8ee1fe8fc46e /quantum/joystick.c
parent103badc87cb50db1ff3851c84331e86ba78fb681 (diff)
merge upstream 713427c
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) {