summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k6_pro/config.h
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-12-06 17:10:48 +0800
committerlokher <lokher@gmail.com>2022-12-07 15:50:49 +0800
commita336c2c5005251e4cb0f3a62ccabdb4cfccad915 (patch)
tree3c948b631a5e3b6f940dabe02fad3c7487e6f350 /keyboards/keychron/k6_pro/config.h
parent27fc28fd2ff52e079a5bc58d6aaea4c752420615 (diff)
Merge upstream master to 2022 Q4 breaking change
Diffstat (limited to 'keyboards/keychron/k6_pro/config.h')
-rw-r--r--keyboards/keychron/k6_pro/config.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/keychron/k6_pro/config.h b/keyboards/keychron/k6_pro/config.h
index fffdbc4a23..025d1fe783 100644
--- a/keyboards/keychron/k6_pro/config.h
+++ b/keyboards/keychron/k6_pro/config.h
@@ -16,10 +16,6 @@
#pragma once
-/* USB Device descriptor parameter */
-#define MANUFACTURER Keychron
-#define PRODUCT Keychron K6 Pro
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
@@ -35,6 +31,7 @@
/* Turn off effects when suspended */
#define RGB_DISABLE_WHEN_USB_SUSPENDED
+#define LED_DISABLE_WHEN_USB_SUSPENDED
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
@@ -47,7 +44,7 @@
#define LED_CAPS_LOCK_PIN A7
#define LED_PIN_ON_STATE 1
-#ifdef BLUETOOTH_ENABLE
+#ifdef KC_BLUETOOTH_ENABLE
/* Hardware configuration */
# define USB_BT_MODE_SELECT_PIN A10
@@ -63,9 +60,6 @@
# define HOST_DEVICES_COUNT 3
-# define HOST_LED_PIN_LIST \
- { H3, H3, H3 }
-# define HOST_LED_PIN_ON_STATE 1
# if defined(RGB_MATRIX_ENABLE) || defined(LED_MATRIX_ENABLE)