aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorLen Trigg <lenbok@gmail.com>2019-03-16 09:46:49 +1300
committerDrashna Jaelre <drashna@live.com>2019-03-15 13:46:49 -0700
commit9c4424ae2cd86002cd2f4140eff7108212ef884e (patch)
tree02885c02070df4a3f7ee0feb36a28123faf425f0 /quantum/rgblight.h
parentfabdb3c4e8ce4659539a2b0fa4cafc56a07d6c2d (diff)
downloadqmk_firmware-9c4424ae2cd86002cd2f4140eff7108212ef884e.tar.gz
qmk_firmware-9c4424ae2cd86002cd2f4140eff7108212ef884e.zip
rgblight split transfer non-eeprom config (#5396)
* Make rgblight_update_dword not update eeprom (we already have eeconfig_update_rgblight for that). Make split i2c keyboards transfer active rgblight config rather than eeprom saved version of rgblight config, enabling runtime changes that aren't persisted to eeprom. * prev_level and prev_rgb only store successfully transmitted values
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index f92388c96..36e436b89 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -174,6 +174,7 @@ void rgblight_step_reverse(void);
174uint8_t rgblight_get_mode(void); 174uint8_t rgblight_get_mode(void);
175void rgblight_mode(uint8_t mode); 175void rgblight_mode(uint8_t mode);
176void rgblight_set(void); 176void rgblight_set(void);
177uint32_t rgblight_read_dword(void);
177void rgblight_update_dword(uint32_t dword); 178void rgblight_update_dword(uint32_t dword);
178void rgblight_increase_hue(void); 179void rgblight_increase_hue(void);
179void rgblight_decrease_hue(void); 180void rgblight_decrease_hue(void);