commit e871ddaae8d77d0a0b1bcf490ffdcc79cf39a61a parent aa3b64db2bd8776f0b452bc3106c6ee663b3cce4 Author: mechlovin <57231893+mechlovin@users.noreply.github.com> Date: Wed, 8 Feb 2023 11:51:51 +0700 [Keyboard] Fix the underglow RGB LED (#19622) Co-authored-by: h40 <73354045+h40io@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Diffstat:
| M | keyboards/mechlovin/adelais/adelais.c | | | 9 | +++++++++ |
| M | keyboards/mechlovin/adelais/standard_led/arm/rules.mk | | | 1 | - |
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/keyboards/mechlovin/adelais/adelais.c b/keyboards/mechlovin/adelais/adelais.c @@ -15,3 +15,11 @@ */ #include "adelais.h" + +#ifdef RGBLIGHT_ENABLE +void keyboard_post_init_kb(void) { + // Call the post init code. + rgblight_sethsv_at(255, 255, 255, 0); + keyboard_post_init_user(); +} +#endif +\ No newline at end of file diff --git a/keyboards/mechlovin/adelais/standard_led/arm/rules.mk b/keyboards/mechlovin/adelais/standard_led/arm/rules.mk @@ -1,2 +1 @@ -WS2812_DRIVER = spi DEFAULT_FOLDER = mechlovin/adelais/standard_led/arm/rev2 \ No newline at end of file