Skip to content

Commit

Permalink
Revert "Start sending Bluetooth keystrokes directly" (fixes qmk#14)
Browse files Browse the repository at this point in the history
This reverts commit 2dde284.

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.
  • Loading branch information
msvisser committed Nov 26, 2019
1 parent d5960bc commit e3e9355
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions keyboards/anne_pro/anne_pro_bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e3e9355

Please sign in to comment.