diff options
author | Florian <fd@0x6664.com> | 2023-12-21 18:35:11 +0700 |
---|---|---|
committer | Florian <fd@0x6664.com> | 2023-12-21 18:35:11 +0700 |
commit | c2008634f8996340c7eb8e95d640a20e37228089 (patch) | |
tree | 4f096ea90f02b0f7586cd4b457b9e4e4e255ecf0 /quantum | |
parent | 1a7e7e0563fd1dd01a6574dd4d0af8fc1add0172 (diff) |
h/fix: quick disconection causes next pairing to fail
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/oryx.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/quantum/oryx.c b/quantum/oryx.c index 5cc38c20f4..b9372d5c7a 100644 --- a/quantum/oryx.c +++ b/quantum/oryx.c @@ -62,18 +62,10 @@ void raw_hid_receive(uint8_t *data, uint8_t length) { } case ORYX_CMD_PAIRING_INIT: - if (rawhid_state.paired == true) - pairing_failed_event(); - else - pairing_success_event(); - break; + pairing_success_event(); case ORYX_CMD_PAIRING_VALIDATE: - if (rawhid_state.paired == true) - pairing_failed_event(); - else - pairing_success_event(); - break; + break; // Keeping this for backwards compatibility with earlier versions of Wally / Keymapp case ORYX_SET_LAYER: if (rawhid_state.paired == true) { |