summaryrefslogtreecommitdiff
path: root/keyboards/redox/rev1
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-04-06 18:00:54 +1000
committerGitHub <noreply@github.com>2023-04-06 18:00:54 +1000
commit47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch)
treed2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/redox/rev1
parent71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff)
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/redox/rev1')
-rw-r--r--keyboards/redox/rev1/base/info.json3
-rw-r--r--keyboards/redox/rev1/config.h3
-rw-r--r--keyboards/redox/rev1/proton_c/config.h4
-rw-r--r--keyboards/redox/rev1/proton_c/info.json3
4 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/redox/rev1/base/info.json b/keyboards/redox/rev1/base/info.json
index 1c251361f0..e0d1433115 100644
--- a/keyboards/redox/rev1/base/info.json
+++ b/keyboards/redox/rev1/base/info.json
@@ -10,6 +10,9 @@
"split": {
"soft_serial_pin": "D0"
},
+ "ws2812": {
+ "pin": "D3"
+ },
"processor": "atmega32u4",
"bootloader": "caterina"
}
diff --git a/keyboards/redox/rev1/config.h b/keyboards/redox/rev1/config.h
index 8b05acd7ed..5b44f7541f 100644
--- a/keyboards/redox/rev1/config.h
+++ b/keyboards/redox/rev1/config.h
@@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-/* ws2812 RGB LED */
-#define RGB_DI_PIN D3
-
#define RGBLED_NUM 14 // Number of LEDs
#define RGBLIGHT_SPLIT // sync LEDs between RIGHT and LEFT hand
diff --git a/keyboards/redox/rev1/proton_c/config.h b/keyboards/redox/rev1/proton_c/config.h
index c32700fda9..08a74aef2c 100644
--- a/keyboards/redox/rev1/proton_c/config.h
+++ b/keyboards/redox/rev1/proton_c/config.h
@@ -25,10 +25,6 @@
#define SERIAL_USART_RX_PAL_MODE 7 // Pin "alternate function", see the respective datasheet for the appropriate values for your MCU. default: 7
#define SERIAL_USART_TIMEOUT 20 // USART driver timeout. default 20
-/* ws2812 RGB LED */
-#undef RGB_DI_PIN
-#define RGB_DI_PIN A9
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/redox/rev1/proton_c/info.json b/keyboards/redox/rev1/proton_c/info.json
index 5d5358adb0..7fec1e7950 100644
--- a/keyboards/redox/rev1/proton_c/info.json
+++ b/keyboards/redox/rev1/proton_c/info.json
@@ -2,6 +2,9 @@
"usb": {
"device_version": "1.0.1"
},
+ "ws2812": {
+ "pin": "A9"
+ },
"matrix_pins": {
"cols": ["A1", "A0", "B8", "B13", "B14", "B15", "B9"],
"rows": ["B5", "B3", "B2", "B1", "B0"]