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/preonic/keymaps/seph/config.h | 4 ++-- keyboards/preonic/rev3/config.h | 1 - keyboards/preonic/rev3/info.json | 1 + keyboards/preonic/rev3_drop/config.h | 1 - keyboards/preonic/rev3_drop/info.json | 1 + 5 files changed, 4 insertions(+), 4 deletions(-) (limited to 'keyboards/preonic') diff --git a/keyboards/preonic/keymaps/seph/config.h b/keyboards/preonic/keymaps/seph/config.h index 0267852335..18812886f7 100644 --- a/keyboards/preonic/keymaps/seph/config.h +++ b/keyboards/preonic/keymaps/seph/config.h @@ -7,8 +7,8 @@ #define BACKLIGHT_LEVELS 8 /* ws2812 RGB LED */ -#undef RGB_DI_PIN -#define RGB_DI_PIN B3 +#undef WS2812_DI_PIN +#define WS2812_DI_PIN B3 #undef RGBLED_NUM #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/preonic/rev3/config.h b/keyboards/preonic/rev3/config.h index a2de64a324..2f55894ae6 100644 --- a/keyboards/preonic/rev3/config.h +++ b/keyboards/preonic/rev3/config.h @@ -45,7 +45,6 @@ /* * WS2812 Underglow Matrix options */ -#define RGB_DI_PIN A1 #define RGBLED_NUM 9 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/preonic/rev3/info.json b/keyboards/preonic/rev3/info.json index 253017bf9a..de242674bb 100644 --- a/keyboards/preonic/rev3/info.json +++ b/keyboards/preonic/rev3/info.json @@ -7,6 +7,7 @@ "device_version": "0.0.3" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { diff --git a/keyboards/preonic/rev3_drop/config.h b/keyboards/preonic/rev3_drop/config.h index f05911872b..ac584dfbfe 100644 --- a/keyboards/preonic/rev3_drop/config.h +++ b/keyboards/preonic/rev3_drop/config.h @@ -45,7 +45,6 @@ /* * WS2812 Underglow Matrix options */ -#define RGB_DI_PIN A1 #define RGBLED_NUM 9 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/preonic/rev3_drop/info.json b/keyboards/preonic/rev3_drop/info.json index a327c2cf40..ff105f700f 100644 --- a/keyboards/preonic/rev3_drop/info.json +++ b/keyboards/preonic/rev3_drop/info.json @@ -7,6 +7,7 @@ "device_version": "0.0.3" }, "ws2812": { + "pin": "A1", "driver": "pwm" }, "matrix_pins": { -- cgit v1.2.3