From c2008634f8996340c7eb8e95d640a20e37228089 Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 21 Dec 2023 18:35:11 +0700 Subject: h/fix: quick disconection causes next pairing to fail --- quantum/oryx.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'quantum') 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) { -- cgit v1.2.3