Browse Source

[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>
mechlovin 3 năm trước cách đây
mục cha
commit
e871ddaae8

+ 8 - 0
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

+ 0 - 1
keyboards/mechlovin/adelais/standard_led/arm/rules.mk

@@ -1,2 +1 @@
-WS2812_DRIVER = spi
 DEFAULT_FOLDER = mechlovin/adelais/standard_led/arm/rev2