fix: don't wake RGB on layer change when user toggled off
This commit is contained in:
parent
a36c7f26f8
commit
24949fe134
1 changed files with 3 additions and 0 deletions
|
|
@ -486,6 +486,9 @@ void zmk_rgb_request_refresh(void) {
|
|||
|
||||
void zmk_rgb_request_refresh_wakeup(bool wakeup) {
|
||||
if (!state.on && !state.layer_enabled) {
|
||||
return;
|
||||
}
|
||||
if (!state.on && state.layer_enabled) {
|
||||
if (!wakeup) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue