Merge 96c12f5fcb
into 5aac2743b1
This commit is contained in:
commit
6b33ea412c
1 changed files with 3 additions and 3 deletions
|
@ -335,15 +335,15 @@ int zmk_rgb_underglow_off() {
|
|||
}
|
||||
#endif
|
||||
|
||||
k_timer_stop(&underglow_tick);
|
||||
state.on = false;
|
||||
|
||||
for (int i = 0; i < STRIP_NUM_PIXELS; i++) {
|
||||
pixels[i] = (struct led_rgb){r : 0, g : 0, b : 0};
|
||||
}
|
||||
|
||||
led_strip_update_rgb(led_strip, pixels, STRIP_NUM_PIXELS);
|
||||
|
||||
k_timer_stop(&underglow_tick);
|
||||
state.on = false;
|
||||
|
||||
return zmk_rgb_underglow_save_state();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue