summaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-01-20 18:48:28 +0000
committerQMK Bot <hello@qmk.fm>2020-01-20 18:48:28 +0000
commite3d59a72f9c5a462066439bb5396484bd39ab739 (patch)
treed43d2b3f1383b6d2cc029914fa0d70db625a456b /quantum/rgblight.c
parent484a9b12bc3961fc0dd9481d3cb734959db42191 (diff)
format code according to conventions [skip ci]
Diffstat (limited to 'quantum/rgblight.c')
-rw-r--r--quantum/rgblight.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 85b3191105..40de19eac3 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -160,9 +160,7 @@ void eeconfig_update_rgblight(uint32_t val) {
#endif
}
-void eeconfig_update_rgblight_current(void) {
- eeconfig_update_rgblight(rgblight_config.raw);
-}
+void eeconfig_update_rgblight_current(void) { eeconfig_update_rgblight(rgblight_config.raw); }
void eeconfig_update_rgblight_default(void) {
rgblight_config.enable = 1;
@@ -510,7 +508,7 @@ uint8_t rgblight_get_speed(void) { return rgblight_config.speed; }
void rgblight_set_speed_eeprom_helper(uint8_t speed, bool write_to_eeprom) {
rgblight_config.speed = speed;
if (write_to_eeprom) {
- eeconfig_update_rgblight(rgblight_config.raw); // EECONFIG needs to be increased to support this
+ eeconfig_update_rgblight(rgblight_config.raw); // EECONFIG needs to be increased to support this
dprintf("rgblight set speed [EEPROM]: %u\n", rgblight_config.speed);
} else {
dprintf("rgblight set speed [NOEEPROM]: %u\n", rgblight_config.speed);