feat(underglow): fix bug
This commit is contained in:
parent
20a034fb37
commit
91a3dfa68c
1 changed files with 1 additions and 1 deletions
|
@ -454,7 +454,7 @@ static int rgb_underglow_auto_state(bool *prev_state, bool *new_state) {
|
||||||
if (state.on == *new_state) {
|
if (state.on == *new_state) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (new_state) {
|
if (*new_state) {
|
||||||
state.on = *prev_state;
|
state.on = *prev_state;
|
||||||
*prev_state = false;
|
*prev_state = false;
|
||||||
return zmk_rgb_underglow_on();
|
return zmk_rgb_underglow_on();
|
||||||
|
|
Loading…
Add table
Reference in a new issue