diff options
author | Ryan <fauxpark@gmail.com> | 2024-02-18 17:08:27 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-18 17:08:27 +1100 |
commit | 2d1aed78a67b3d2b002cc739ef087963b05b76b8 (patch) | |
tree | ea681d02e547332cffa6b7aec6c16ef37ad70ee3 /quantum/joystick.c | |
parent | 6810aaf0130113e267e20fb506d874cc858f5f67 (diff) |
Update GPIO macro usages in core (#23093)
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 3e9edeb8e2..32f19b2cd9 100644 --- a/quantum/joystick.c +++ b/quantum/joystick.c @@ -43,7 +43,7 @@ __attribute__((weak)) void joystick_axis_init(uint8_t axis) { if (axis >= JOYSTICK_AXIS_COUNT) return; #if defined(JOYSTICK_ANALOG) - setPinInput(joystick_axes[axis].input_pin); + gpio_set_pin_input(joystick_axes[axis].input_pin); #endif } |