summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorFlorian Didron <fdidron@users.noreply.github.com>2023-12-21 15:13:41 +0700
committerGitHub <noreply@github.com>2023-12-21 15:13:41 +0700
commit1a7e7e0563fd1dd01a6574dd4d0af8fc1add0172 (patch)
tree795abb06b704f7426525ff43a531e454c7023650 /tmk_core/protocol
parent47c470ea25b7c0c07182090dd3c5e54b34c2d701 (diff)
Remove pairing, fw22 (#379)
* chore: remove pairing code * fix: driver let total macro
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/chibios/usb_main.c1
-rw-r--r--tmk_core/protocol/lufa/lufa.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c
index f9124f6b9d..8784e51786 100644
--- a/tmk_core/protocol/chibios/usb_main.c
+++ b/tmk_core/protocol/chibios/usb_main.c
@@ -1103,7 +1103,6 @@ void raw_hid_send(uint8_t *data, uint8_t length) {
# ifdef ORYX_ENABLE
if (chnWriteTimeout(&drivers.raw_driver.driver, data, length, TIME_IMMEDIATE) != length) {
- rawhid_state.pairing = false;
rawhid_state.paired = false;
}
# else
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index 112d0964c9..89ecb6c1f0 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -159,7 +159,6 @@ void raw_hid_send(uint8_t *data, uint8_t length) {
if (Endpoint_IsINReady()) {
// Write data
if (Endpoint_Write_Stream_LE(data, RAW_EPSIZE, NULL)) {
- rawhid_state.pairing = false;
rawhid_state.paired = false;
}
// Finalize the stream transfer to send the last packet