diff options
author | Ryan <fauxpark@gmail.com> | 2023-04-06 18:00:54 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 18:00:54 +1000 |
commit | 47966dc2a65c88ac90fcd64d12243d72f3f6753b (patch) | |
tree | d2f54974c74f66bf11565a64381ea8834f49d481 /keyboards/crkbd | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r-- | keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h | 4 | ||||
-rw-r--r-- | keyboards/crkbd/r2g/config.h | 3 | ||||
-rw-r--r-- | keyboards/crkbd/r2g/info.json | 3 | ||||
-rw-r--r-- | keyboards/crkbd/rev1/config.h | 3 | ||||
-rw-r--r-- | keyboards/crkbd/rev1/info.json | 3 |
5 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h b/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h index cddd09e5b6..89b58e4648 100644 --- a/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h +++ b/keyboards/crkbd/keymaps/vlukash_trackpad_right/config.h @@ -38,5 +38,5 @@ #define MATRIX_COL_PINS { F4, F5, F6, F7, B7, D5 } /* ws2812 RGB LED */ -#undef RGB_DI_PIN -#define RGB_DI_PIN B5 +#undef WS2812_DI_PIN +#define WS2812_DI_PIN B5 diff --git a/keyboards/crkbd/r2g/config.h b/keyboards/crkbd/r2g/config.h index 06dc572be1..e44626739d 100644 --- a/keyboards/crkbd/r2g/config.h +++ b/keyboards/crkbd/r2g/config.h @@ -19,9 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #ifdef RGBLIGHT_ENABLE # define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/crkbd/r2g/info.json b/keyboards/crkbd/r2g/info.json index c74336c5cd..6440a61bf7 100644 --- a/keyboards/crkbd/r2g/info.json +++ b/keyboards/crkbd/r2g/info.json @@ -2,6 +2,9 @@ "split": { "soft_serial_pin": "D2" }, + "ws2812": { + "pin": "D3" + }, "bootloader": "atmel-dfu", "layout_aliases": { "LAYOUT": "LAYOUT_split_3x6_3" diff --git a/keyboards/crkbd/rev1/config.h b/keyboards/crkbd/rev1/config.h index 854a63a35d..2378a8637f 100644 --- a/keyboards/crkbd/rev1/config.h +++ b/keyboards/crkbd/rev1/config.h @@ -18,9 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #ifdef RGBLIGHT_ENABLE # define RGBLED_NUM 54 // Number of LEDs # define RGBLED_SPLIT \ diff --git a/keyboards/crkbd/rev1/info.json b/keyboards/crkbd/rev1/info.json index 1226b3f69f..cadb908cf1 100644 --- a/keyboards/crkbd/rev1/info.json +++ b/keyboards/crkbd/rev1/info.json @@ -2,6 +2,9 @@ "split": { "soft_serial_pin": "D2" }, + "ws2812": { + "pin": "D3" + }, "bootloader": "caterina", "layout_aliases": { "LAYOUT": "LAYOUT_split_3x6_3" |