From e3e9355b6c825a7634b93a469f72950c3fd6429c Mon Sep 17 00:00:00 2001 From: Michiel Visser Date: Tue, 26 Nov 2019 12:14:52 +0100 Subject: [PATCH] Revert "Start sending Bluetooth keystrokes directly" (fixes #14) This reverts commit 2dde284d1738c451f98505d6b961dbf3858e224a. These changes are reverted as they caused the Bluetooth pairing to break. A different solution will have to be found, as Bluetooth is currently completely unusable with this change. --- keyboards/anne_pro/anne_pro_bluetooth.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/keyboards/anne_pro/anne_pro_bluetooth.c b/keyboards/anne_pro/anne_pro_bluetooth.c index 2058abf11e..3465fa84a2 100644 --- a/keyboards/anne_pro/anne_pro_bluetooth.c +++ b/keyboards/anne_pro/anne_pro_bluetooth.c @@ -349,12 +349,6 @@ static void send_keyboard(report_keyboard_t *report) { bluetooth_report[5+i] = report->keys[i]; } uart_tx_ringbuf_write(&bluetooth_uart_ringbuf, 11, bluetooth_report); - /* If the Bluetooth UART is currently not sending anything, start sending */ - if (bluetooth_uart_ringbuf.sending_elements == 0) { - if (bluetooth_wakeup() == MSG_OK) { - uart_tx_ringbuf_start_transmission(&bluetooth_uart_ringbuf); - } - } } /* Send mouse HID report for Bluetooth driver */