1
0

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

@@ -79,6 +79,7 @@ void setleds_custom(rgb_led_t *start_led, uint16_t num_leds)
}
const rgblight_driver_t rgblight_driver = {
.init = ws2812_init,
.setleds = setleds_custom,
};

View File

@@ -55,6 +55,7 @@ void setleds_custom(rgb_led_t *ledarray, uint16_t num_leds) {
}
const rgblight_driver_t rgblight_driver = {
.init = ws2812_init,
.setleds = setleds_custom,
};
#endif