~ruther/qmk_firmware

0c487cbebae73d08e74c19194f1cf4c085a2c7a0 — QMK Bot 3 years ago 21603c5 + d93dfbf
Merge remote-tracking branch 'origin/master' into develop
1 files changed, 1 insertions(+), 1 deletions(-)

M quantum/process_keycode/process_joystick.c
M quantum/process_keycode/process_joystick.c => quantum/process_keycode/process_joystick.c +1 -1
@@ 106,7 106,7 @@ bool process_joystick_analogread_quantum() {

        wait_us(10);

#    if defined(__AVR__) || defined(PROTOCOL_CHIBIOS)
#    if defined(ANALOG_JOYSTICK_ENABLE) && (defined(__AVR__) || defined(PROTOCOL_CHIBIOS))
        int16_t axis_val = analogReadPin(joystick_axes[axis_index].input_pin);
#    else
        // default to resting position