1
0
Fork 0

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
This commit is contained in:
Len Trigg 2019-03-16 09:46:49 +13:00 committed by Drashna Jaelre
parent fabdb3c4e8
commit 9c4424ae2c
4 changed files with 14 additions and 8 deletions

View file

@ -174,6 +174,7 @@ void rgblight_step_reverse(void);
uint8_t rgblight_get_mode(void);
void rgblight_mode(uint8_t mode);
void rgblight_set(void);
uint32_t rgblight_read_dword(void);
void rgblight_update_dword(uint32_t dword);
void rgblight_increase_hue(void);
void rgblight_decrease_hue(void);