fix(underglow): Correctly set underglow state
This fixes a bug introduced in #2244
This commit is contained in:
parent
4d566853af
commit
0d3a4b7bbb
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ static int rgb_underglow_auto_state(bool target_wake_state) {
|
||||||
return zmk_rgb_underglow_off();
|
return zmk_rgb_underglow_off();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sleep_state.rgb_state_before_sleeping = sleep_state.on;
|
sleep_state.rgb_state_before_sleeping = state.on;
|
||||||
return zmk_rgb_underglow_off();
|
return zmk_rgb_underglow_off();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue