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/rgbkb/sol | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/rgbkb/sol')
-rw-r--r-- | keyboards/rgbkb/sol/rev1/config.h | 3 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev1/info.json | 3 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev2/config.h | 3 | ||||
-rw-r--r-- | keyboards/rgbkb/sol/rev2/info.json | 3 |
4 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/rgbkb/sol/rev1/config.h b/keyboards/rgbkb/sol/rev1/config.h index fcef317e1f..a41959a88b 100644 --- a/keyboards/rgbkb/sol/rev1/config.h +++ b/keyboards/rgbkb/sol/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 B3 - #ifdef LED_MIRRORED #define RGBLED_NUM 35 #else diff --git a/keyboards/rgbkb/sol/rev1/info.json b/keyboards/rgbkb/sol/rev1/info.json index dfaedb6cff..ae88231a49 100644 --- a/keyboards/rgbkb/sol/rev1/info.json +++ b/keyboards/rgbkb/sol/rev1/info.json @@ -21,6 +21,9 @@ "split": { "soft_serial_pin": "D3" }, + "ws2812": { + "pin": "B3" + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "layouts": { diff --git a/keyboards/rgbkb/sol/rev2/config.h b/keyboards/rgbkb/sol/rev2/config.h index 874ec536b1..19680c84b3 100644 --- a/keyboards/rgbkb/sol/rev2/config.h +++ b/keyboards/rgbkb/sol/rev2/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 B7 - // Underglow / DIY Tent Glow are parallel to the top row leds, no separate define // Full Hand case adds 24 LEDs, Star Fighter case adds 38 LEDs // For mirrored LED control (each MCU controls half the LEDs), total LED counts are divided in half diff --git a/keyboards/rgbkb/sol/rev2/info.json b/keyboards/rgbkb/sol/rev2/info.json index e60042b2c2..97b7921464 100644 --- a/keyboards/rgbkb/sol/rev2/info.json +++ b/keyboards/rgbkb/sol/rev2/info.json @@ -16,6 +16,9 @@ "split": { "soft_serial_pin": "D3" }, + "ws2812": { + "pin": "B7" + }, "processor": "atmega32u4", "bootloader": "qmk-dfu", "layouts": { |