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/gl516 | |
parent | 71c22a12db58c71952a12df6bbe445f6f9a4e858 (diff) |
Migrate `rgblight.pin` and `RGB_DI_PIN` to `ws2812.pin` (#20303)
Diffstat (limited to 'keyboards/gl516')
-rw-r--r-- | keyboards/gl516/j73gl/config.h | 3 | ||||
-rw-r--r-- | keyboards/gl516/j73gl/info.json | 3 | ||||
-rw-r--r-- | keyboards/gl516/n51gl/config.h | 3 | ||||
-rw-r--r-- | keyboards/gl516/n51gl/info.json | 3 |
4 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/gl516/j73gl/config.h b/keyboards/gl516/j73gl/config.h index 8cd2c1fe6c..49205e59d1 100644 --- a/keyboards/gl516/j73gl/config.h +++ b/keyboards/gl516/j73gl/config.h @@ -31,9 +31,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 - #ifndef RGBLED_NUM #define RGBLED_NUM 73 #endif diff --git a/keyboards/gl516/j73gl/info.json b/keyboards/gl516/j73gl/info.json index 42f6d368bb..56bb01dc84 100644 --- a/keyboards/gl516/j73gl/info.json +++ b/keyboards/gl516/j73gl/info.json @@ -8,6 +8,9 @@ "pid": "0xE8D0", "device_version": "0.0.1" }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/gl516/n51gl/config.h b/keyboards/gl516/n51gl/config.h index 276e6f6c6d..cd919a72c4 100644 --- a/keyboards/gl516/n51gl/config.h +++ b/keyboards/gl516/n51gl/config.h @@ -31,9 +31,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 - #ifndef RGBLED_NUM #define RGBLED_NUM 15 #endif diff --git a/keyboards/gl516/n51gl/info.json b/keyboards/gl516/n51gl/info.json index eaaf6e69dd..bb42d48981 100644 --- a/keyboards/gl516/n51gl/info.json +++ b/keyboards/gl516/n51gl/info.json @@ -8,6 +8,9 @@ "pid": "0xE8CF", "device_version": "0.0.1" }, + "ws2812": { + "pin": "D3" + }, "encoder": { "rotary": [ {"pin_a": "D7", "pin_b": "E6", "resolution": 3} |