forked from kofal.net/zmk
fix(underglow): Correctly set underglow state
This fixes a bug introduced in #2244
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user