diff options
| author | Ryan <fauxpark@gmail.com> | 2023-01-21 03:21:17 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-20 16:21:17 +0000 |
| commit | cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch) | |
| tree | cb7dc41b774171ce7036f963941ce801e868d8cd /quantum/joystick.c | |
| parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) | |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'quantum/joystick.c')
| -rw-r--r-- | quantum/joystick.c | 2 |
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) { | |||
| 111 | return ranged_val; | 111 | return ranged_val; |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | void joystick_read_axes() { | 114 | void joystick_read_axes(void) { |
| 115 | #if JOYSTICK_AXIS_COUNT > 0 | 115 | #if JOYSTICK_AXIS_COUNT > 0 |
| 116 | for (int i = 0; i < JOYSTICK_AXIS_COUNT; ++i) { | 116 | for (int i = 0; i < JOYSTICK_AXIS_COUNT; ++i) { |
| 117 | if (joystick_axes[i].input_pin == JS_VIRTUAL_AXIS) { | 117 | if (joystick_axes[i].input_pin == JS_VIRTUAL_AXIS) { |
