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 305 additions and 92 deletions
+1
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,
};
+1
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