Fix functions with empty params (#19647)

* Fix functions with empty params

* Found a bunch more
This commit is contained in:
Ryan
2023-01-21 03:21:17 +11:00
committed by GitHub
parent 0f77ae6a20
commit cf935d97ae
170 changed files with 276 additions and 276 deletions

View File

@ -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) {