summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/outputselect.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-01-31 04:29:42 +1100
committerGitHub <noreply@github.com>2022-01-30 17:29:42 +0000
commit7d685956cc616a8d76aa7866f42bf569a9ca3fca (patch)
tree55f20f489b9ab12fde6bba1a8f8b59499e8ed179 /drivers/bluetooth/outputselect.c
parent9f4769fbe62fd3763a72f4a56dee18b5fbabec29 (diff)
Rename `AdafruitBLE` to `BluefruitLE` (#16127)
Diffstat (limited to 'drivers/bluetooth/outputselect.c')
-rw-r--r--drivers/bluetooth/outputselect.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/bluetooth/outputselect.c b/drivers/bluetooth/outputselect.c
index f758c65280..cdd2e64cfd 100644
--- a/drivers/bluetooth/outputselect.c
+++ b/drivers/bluetooth/outputselect.c
@@ -18,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# include "lufa.h"
#endif
-#ifdef MODULE_ADAFRUIT_BLE
-# include "adafruit_ble.h"
+#ifdef BLUETOOTH_BLUEFRUIT_LE
+# include "bluefruit_le.h"
#endif
uint8_t desired_output = OUTPUT_DEFAULT;
@@ -54,8 +54,8 @@ uint8_t auto_detect_output(void) {
return OUTPUT_USB;
}
-#ifdef MODULE_ADAFRUIT_BLE
- if (adafruit_ble_is_connected()) {
+#ifdef BLUETOOTH_BLUEFRUIT_LE
+ if (bluefruit_le_is_connected()) {
return OUTPUT_BLUETOOTH;
}
#endif