Browse Source

Fix check when compiling HID Joystick with digital driver (#17844)

pull/17849/head 0.17.6
Drashna Jaelre 1 year ago
committed by GitHub
parent
commit
d93dfbff3c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      quantum/process_keycode/process_joystick.c

+ 1
- 1
quantum/process_keycode/process_joystick.c View File

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


Loading…
Cancel
Save