summaryrefslogtreecommitdiff
path: root/keyboards/handwired/promethium/keymaps
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 /keyboards/handwired/promethium/keymaps
parent9f4769fbe62fd3763a72f4a56dee18b5fbabec29 (diff)
Rename `AdafruitBLE` to `BluefruitLE` (#16127)
Diffstat (limited to 'keyboards/handwired/promethium/keymaps')
-rw-r--r--keyboards/handwired/promethium/keymaps/default/keymap.c6
-rw-r--r--keyboards/handwired/promethium/keymaps/priyadi/keymap.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c
index 14a293bb39..e12142c50b 100644
--- a/keyboards/handwired/promethium/keymaps/default/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/default/keymap.c
@@ -137,7 +137,7 @@ enum planck_keycodes {
#ifndef FAUXCLICKY_ENABLE
FC_TOG,
#endif
-#ifndef MODULE_ADAFRUIT_BLE
+#ifndef BLUETOOTH_BLUEFRUIT_LE
OUT_BT,
#endif
RGBDEMO,
@@ -1261,7 +1261,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
void set_output_user(uint8_t output) {
-#ifdef MODULE_ADAFRUIT_BLE
+#ifdef BLUETOOTH_BLUEFRUIT_LE
switch(output) {
case OUTPUT_USB:
led_set_output_usb();
@@ -1285,7 +1285,7 @@ void matrix_init_user() {
#endif
// auto detect output on init
-#ifdef MODULE_ADAFRUIT_BLE
+#ifdef BLUETOOTH_BLUEFRUIT_LE
uint8_t output = auto_detect_output();
if (output == OUTPUT_USB) {
set_output(OUTPUT_USB);
diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
index 094eb15762..94b505aa2c 100644
--- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
+++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c
@@ -140,7 +140,7 @@ enum planck_keycodes {
#ifndef FAUXCLICKY_ENABLE
FC_TOG,
#endif
-#ifndef MODULE_ADAFRUIT_BLE
+#ifndef BLUETOOTH_BLUEFRUIT_LE
OUT_BT,
#endif
RGBDEMO,
@@ -1264,7 +1264,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
void set_output_user(uint8_t output) {
-#ifdef MODULE_ADAFRUIT_BLE
+#ifdef BLUETOOTH_BLUEFRUIT_LE
switch(output) {
case OUTPUT_USB:
led_set_output_usb();
@@ -1288,7 +1288,7 @@ void matrix_init_user() {
#endif
// auto detect output on init
-#ifdef MODULE_ADAFRUIT_BLE
+#ifdef BLUETOOTH_BLUEFRUIT_LE
uint8_t output = auto_detect_output();
if (output == OUTPUT_USB) {
set_output(OUTPUT_USB);