diff options
| author | Ryan <fauxpark@gmail.com> | 2022-09-30 03:38:09 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-29 18:38:09 +0100 |
| commit | f80058d96e2f1606f648166d320cda15986ced4c (patch) | |
| tree | db60471363d59bb52d124a276bde9cf93e93c591 /quantum/keyboard.c | |
| parent | cbbb45c13f3de5ec28f62b6cd4a8b77143026500 (diff) | |
Start Bluetooth API (#18366)
Diffstat (limited to 'quantum/keyboard.c')
| -rw-r--r-- | quantum/keyboard.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c index c8025d059b..626e0a7ee1 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c | |||
| @@ -106,12 +106,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 106 | # include "split_util.h" | 106 | # include "split_util.h" |
| 107 | #endif | 107 | #endif |
| 108 | #ifdef BLUETOOTH_ENABLE | 108 | #ifdef BLUETOOTH_ENABLE |
| 109 | # include "outputselect.h" | 109 | # include "bluetooth.h" |
| 110 | # ifdef BLUETOOTH_BLUEFRUIT_LE | ||
| 111 | # include "bluefruit_le.h" | ||
| 112 | # elif BLUETOOTH_RN42 | ||
| 113 | # include "rn42.h" | ||
| 114 | # endif | ||
| 115 | #endif | 110 | #endif |
| 116 | #ifdef CAPS_WORD_ENABLE | 111 | #ifdef CAPS_WORD_ENABLE |
| 117 | # include "caps_word.h" | 112 | # include "caps_word.h" |
| @@ -411,8 +406,8 @@ void keyboard_init(void) { | |||
| 411 | // init after split init | 406 | // init after split init |
| 412 | pointing_device_init(); | 407 | pointing_device_init(); |
| 413 | #endif | 408 | #endif |
| 414 | #if defined(BLUETOOTH_RN42) | 409 | #ifdef BLUETOOTH_ENABLE |
| 415 | rn42_init(); | 410 | bluetooth_init(); |
| 416 | #endif | 411 | #endif |
| 417 | 412 | ||
| 418 | #if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE) | 413 | #if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE) |
| @@ -674,8 +669,8 @@ void keyboard_task(void) { | |||
| 674 | programmable_button_send(); | 669 | programmable_button_send(); |
| 675 | #endif | 670 | #endif |
| 676 | 671 | ||
| 677 | #ifdef BLUETOOTH_BLUEFRUIT_LE | 672 | #ifdef BLUETOOTH_ENABLE |
| 678 | bluefruit_le_task(); | 673 | bluetooth_task(); |
| 679 | #endif | 674 | #endif |
| 680 | 675 | ||
| 681 | led_task(); | 676 | led_task(); |
