aboutsummaryrefslogtreecommitdiff
path: root/quantum/connection/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/connection/connection.c')
-rw-r--r--quantum/connection/connection.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/quantum/connection/connection.c b/quantum/connection/connection.c
index c7f3c4b424..1ff8876876 100644
--- a/quantum/connection/connection.c
+++ b/quantum/connection/connection.c
@@ -5,6 +5,10 @@
#include "usb_util.h"
#include "util.h"
+#ifdef BLUETOOTH_ENABLE
+# include "bluetooth.h"
+#endif
+
// ======== DEPRECATED DEFINES - DO NOT USE ========
#ifdef OUTPUT_DEFAULT
# undef CONNECTION_HOST_DEFAULT
@@ -14,16 +18,6 @@
__attribute__((weak)) void set_output_user(uint8_t output) {}
// ========
-#ifdef BLUETOOTH_ENABLE
-# ifdef BLUETOOTH_BLUEFRUIT_LE
-# include "bluefruit_le.h"
-# define bluetooth_is_connected() bluefruit_le_is_connected()
-# else
-// TODO: drivers should check if BT is connected here
-# define bluetooth_is_connected() true
-# endif
-#endif
-
#define CONNECTION_HOST_INVALID 0xFF
#ifndef CONNECTION_HOST_DEFAULT