diff options
| author | QMK Bot <hello@qmk.fm> | 2020-05-18 13:42:23 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2020-05-18 13:42:23 +0000 |
| commit | 010c5b12bd0bc4a53abda6d8f9d77de8a7ef1e8f (patch) | |
| tree | 7cf765e86d194ef8f1ce2ce04573e17ea17cbd05 | |
| parent | 4adf4d5a8913d95de638bed52f41686a80145a89 (diff) | |
| download | qmk_firmware-010c5b12bd0bc4a53abda6d8f9d77de8a7ef1e8f.tar.gz qmk_firmware-010c5b12bd0bc4a53abda6d8f9d77de8a7ef1e8f.zip | |
format code according to conventions [skip ci]
| -rw-r--r-- | quantum/rgblight.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c index b50be200e..73a7afd7b 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c | |||
| @@ -524,9 +524,7 @@ uint8_t rgblight_get_sat(void) { return rgblight_config.sat; } | |||
| 524 | 524 | ||
| 525 | uint8_t rgblight_get_val(void) { return rgblight_config.val; } | 525 | uint8_t rgblight_get_val(void) { return rgblight_config.val; } |
| 526 | 526 | ||
| 527 | HSV rgblight_get_hsv(void) { | 527 | HSV rgblight_get_hsv(void) { return (HSV){rgblight_config.hue, rgblight_config.sat, rgblight_config.val}; } |
| 528 | return (HSV){ rgblight_config.hue, rgblight_config.sat, rgblight_config.val }; | ||
| 529 | } | ||
| 530 | 528 | ||
| 531 | void rgblight_setrgb(uint8_t r, uint8_t g, uint8_t b) { | 529 | void rgblight_setrgb(uint8_t r, uint8_t g, uint8_t b) { |
| 532 | if (!rgblight_config.enable) { | 530 | if (!rgblight_config.enable) { |
