mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
fix quantum/rgblight.c:rgblight_disable_XX() add RGBLIGHT_SPLIT_SET_CHANGE_MODE
This commit is contained in:
parent
297df74728
commit
793c7886a1
@ -409,6 +409,7 @@ void rgblight_disable(void) {
|
|||||||
#ifdef RGBLIGHT_USE_TIMER
|
#ifdef RGBLIGHT_USE_TIMER
|
||||||
rgblight_timer_disable();
|
rgblight_timer_disable();
|
||||||
#endif
|
#endif
|
||||||
|
RGBLIGHT_SPLIT_SET_CHANGE_MODE;
|
||||||
wait_ms(50);
|
wait_ms(50);
|
||||||
rgblight_set();
|
rgblight_set();
|
||||||
}
|
}
|
||||||
@ -419,6 +420,7 @@ void rgblight_disable_noeeprom(void) {
|
|||||||
#ifdef RGBLIGHT_USE_TIMER
|
#ifdef RGBLIGHT_USE_TIMER
|
||||||
rgblight_timer_disable();
|
rgblight_timer_disable();
|
||||||
#endif
|
#endif
|
||||||
|
RGBLIGHT_SPLIT_SET_CHANGE_MODE;
|
||||||
wait_ms(50);
|
wait_ms(50);
|
||||||
rgblight_set();
|
rgblight_set();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user