1
0
Fork 0

add RGBLIGHT_SPLIT_SET_CHANGE_MODEHSVS; to rgblight_update_dword()

This commit is contained in:
mtei 2019-04-24 02:43:44 +09:00 committed by Drashna Jaelre
parent 5312131d35
commit 9f8c8c53a5

View file

@ -279,6 +279,7 @@ uint32_t rgblight_read_dword(void) {
} }
void rgblight_update_dword(uint32_t dword) { void rgblight_update_dword(uint32_t dword) {
RGBLIGHT_SPLIT_SET_CHANGE_MODEHSVS;
rgblight_config.raw = dword; rgblight_config.raw = dword;
if (rgblight_config.enable) if (rgblight_config.enable)
rgblight_mode_noeeprom(rgblight_config.mode); rgblight_mode_noeeprom(rgblight_config.mode);