From 47966dc2a65c88ac90fcd64d12243d72f3f6753b Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 6 Apr 2023 18:00:54 +1000 Subject: Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303) --- keyboards/doodboard/duckboard/config.h | 3 --- keyboards/doodboard/duckboard/info.json | 3 +++ keyboards/doodboard/duckboard_r2/config.h | 3 --- keyboards/doodboard/duckboard_r2/info.json | 3 +++ 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'keyboards/doodboard') diff --git a/keyboards/doodboard/duckboard/config.h b/keyboards/doodboard/duckboard/config.h index 40327dbc9a..a73678faf2 100644 --- a/keyboards/doodboard/duckboard/config.h +++ b/keyboards/doodboard/duckboard/config.h @@ -19,9 +19,6 @@ /* media key slowdown for windows */ #define TAP_CODE_DELAY 20 -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #ifdef RGBLIGHT_ENABLE #define RGBLED_NUM 8 // Number of LEDs #endif diff --git a/keyboards/doodboard/duckboard/info.json b/keyboards/doodboard/duckboard/info.json index 6153c3e2c0..367a9b7d72 100644 --- a/keyboards/doodboard/duckboard/info.json +++ b/keyboards/doodboard/duckboard/info.json @@ -18,6 +18,9 @@ {"pin_a": "F5", "pin_b": "F6", "resolution": 2} ] }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/doodboard/duckboard_r2/config.h b/keyboards/doodboard/duckboard_r2/config.h index 40327dbc9a..a73678faf2 100644 --- a/keyboards/doodboard/duckboard_r2/config.h +++ b/keyboards/doodboard/duckboard_r2/config.h @@ -19,9 +19,6 @@ /* media key slowdown for windows */ #define TAP_CODE_DELAY 20 -/* ws2812 RGB LED */ -#define RGB_DI_PIN D3 - #ifdef RGBLIGHT_ENABLE #define RGBLED_NUM 8 // Number of LEDs #endif diff --git a/keyboards/doodboard/duckboard_r2/info.json b/keyboards/doodboard/duckboard_r2/info.json index da1c3342ed..00d0fc6452 100644 --- a/keyboards/doodboard/duckboard_r2/info.json +++ b/keyboards/doodboard/duckboard_r2/info.json @@ -18,6 +18,9 @@ {"pin_a": "F6", "pin_b": "F5", "resolution": 2} ] }, + "ws2812": { + "pin": "D3" + }, "bootmagic": { "matrix": [0, 1] }, -- cgit v1.2.3