Add some helpers to tidy up XAP (#20235)
This commit is contained in:
parent
9c3c159286
commit
6540b31d71
4 changed files with 14 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -321,6 +321,7 @@ void rgblight_enable(void);
|
|||
void rgblight_enable_noeeprom(void);
|
||||
void rgblight_disable(void);
|
||||
void rgblight_disable_noeeprom(void);
|
||||
void rgblight_enabled_noeeprom(bool state);
|
||||
|
||||
/* hue, sat, val change */
|
||||
void rgblight_increase_hue(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue