Clean up RGB LED type (#21859)
This commit is contained in:
parent
1e3095f9cc
commit
41bd4e35a0
63 changed files with 222 additions and 243 deletions
|
@ -320,7 +320,7 @@ void housekeeping_task_kb(void)
|
|||
self_testing();
|
||||
} else if (rgb_state.state == CAPS_ALERT) {
|
||||
//gold 0xFF, 0xD9, 0x00
|
||||
LED_TYPE led = {
|
||||
rgb_led_t led = {
|
||||
.r = 0xFF,
|
||||
//.g = 0xD9,
|
||||
.g = 0xA5,
|
||||
|
@ -351,7 +351,7 @@ void housekeeping_task_kb(void)
|
|||
housekeeping_task_user();
|
||||
}
|
||||
|
||||
void rgblight_call_driver(LED_TYPE *start_led, uint8_t num_leds)
|
||||
void rgblight_call_driver(rgb_led_t *start_led, uint8_t num_leds)
|
||||
{
|
||||
if (rgb_state.state != NORMAL) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue