summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-09-30 03:38:09 +1000
committerGitHub <noreply@github.com>2022-09-29 18:38:09 +0100
commitf80058d96e2f1606f648166d320cda15986ced4c (patch)
treedb60471363d59bb52d124a276bde9cf93e93c591 /quantum
parentcbbb45c13f3de5ec28f62b6cd4a8b77143026500 (diff)
Start Bluetooth API (#18366)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/keyboard.c15
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/>.
# include "split_util.h"
#endif
#ifdef BLUETOOTH_ENABLE
-# include "outputselect.h"
-# ifdef BLUETOOTH_BLUEFRUIT_LE
-# include "bluefruit_le.h"
-# elif BLUETOOTH_RN42
-# include "rn42.h"
-# endif
+# include "bluetooth.h"
#endif
#ifdef CAPS_WORD_ENABLE
# include "caps_word.h"
@@ -411,8 +406,8 @@ void keyboard_init(void) {
// init after split init
pointing_device_init();
#endif
-#if defined(BLUETOOTH_RN42)
- rn42_init();
+#ifdef BLUETOOTH_ENABLE
+ bluetooth_init();
#endif
#if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE)
@@ -674,8 +669,8 @@ void keyboard_task(void) {
programmable_button_send();
#endif
-#ifdef BLUETOOTH_BLUEFRUIT_LE
- bluefruit_le_task();
+#ifdef BLUETOOTH_ENABLE
+ bluetooth_task();
#endif
led_task();