Add some helpers to tidy up XAP (#20235)
This commit is contained in:
@ -422,6 +422,10 @@ void rgblight_disable_noeeprom(void) {
|
||||
rgblight_set();
|
||||
}
|
||||
|
||||
void rgblight_enabled_noeeprom(bool state) {
|
||||
state ? rgblight_enable_noeeprom() : rgblight_disable_noeeprom();
|
||||
}
|
||||
|
||||
bool rgblight_is_enabled(void) {
|
||||
return rgblight_config.enable;
|
||||
}
|
||||
|
Reference in New Issue
Block a user