summaryrefslogtreecommitdiffstats
path: root/keyboards/mechlovin/adelais
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2023-02-08 11:51:51 +0700
committerGitHub <noreply@github.com>2023-02-07 20:51:51 -0800
commite871ddaae8d77d0a0b1bcf490ffdcc79cf39a61a (patch)
tree98e3186f17fadb11761239d0b9bcbeb278505449 /keyboards/mechlovin/adelais
parentaa3b64db2bd8776f0b452bc3106c6ee663b3cce4 (diff)
[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 (limited to 'keyboards/mechlovin/adelais')
-rw-r--r--keyboards/mechlovin/adelais/adelais.c8
-rw-r--r--keyboards/mechlovin/adelais/standard_led/arm/rules.mk1
2 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/mechlovin/adelais/adelais.c b/keyboards/mechlovin/adelais/adelais.c
index b9df471d33..da954bce04 100644
--- 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
index 2a0951eabd..16a636a342 100644
--- 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