Add init function to RGBLight driver struct (#23076)

This commit is contained in:
Ryan
2024-03-18 22:03:27 +11:00
committed by GitHub
parent 23b7a02ebe
commit f7cf40fa77
42 changed files with 306 additions and 93 deletions

View File

@@ -90,6 +90,7 @@ void sleep_led_enable(void) {
void keyboard_pre_init_kb(void) {
#ifdef KEYBOARD_ibm_model_m_mschwingen_led_ws2812
ws2812_init();
ws2812_setleds(led, RGBLIGHT_LED_COUNT);
#else
/* Set status LEDs pins to output and Low (on) */