format code according to conventions [skip ci]
This commit is contained in:
parent
4adf4d5a89
commit
010c5b12bd
1 changed files with 1 additions and 3 deletions
|
@ -524,9 +524,7 @@ uint8_t rgblight_get_sat(void) { return rgblight_config.sat; }
|
||||||
|
|
||||||
uint8_t rgblight_get_val(void) { return rgblight_config.val; }
|
uint8_t rgblight_get_val(void) { return rgblight_config.val; }
|
||||||
|
|
||||||
HSV rgblight_get_hsv(void) {
|
HSV rgblight_get_hsv(void) { return (HSV){rgblight_config.hue, rgblight_config.sat, rgblight_config.val}; }
|
||||||
return (HSV){ rgblight_config.hue, rgblight_config.sat, rgblight_config.val };
|
|
||||||
}
|
|
||||||
|
|
||||||
void rgblight_setrgb(uint8_t r, uint8_t g, uint8_t b) {
|
void rgblight_setrgb(uint8_t r, uint8_t g, uint8_t b) {
|
||||||
if (!rgblight_config.enable) {
|
if (!rgblight_config.enable) {
|
||||||
|
|
Loading…
Reference in a new issue