Merge remote-tracking branch 'upstream/master' into develop
This commit is contained in:
commit
d65db68f9f
7 changed files with 30 additions and 2 deletions
|
@ -237,6 +237,17 @@ void rgblight_init(void) {
|
|||
is_rgblight_initialized = true;
|
||||
}
|
||||
|
||||
void rgblight_reload_from_eeprom(void) {
|
||||
/* Reset back to what we have in eeprom */
|
||||
rgblight_config.raw = eeconfig_read_rgblight();
|
||||
RGBLIGHT_SPLIT_SET_CHANGE_MODEHSVS;
|
||||
rgblight_check_config();
|
||||
eeconfig_debug_rgblight(); // display current eeprom values
|
||||
if (rgblight_config.enable) {
|
||||
rgblight_mode_noeeprom(rgblight_config.mode);
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t rgblight_read_dword(void) { return rgblight_config.raw; }
|
||||
|
||||
void rgblight_update_dword(uint32_t dword) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue