fix(sticky keys): use correct timestamp when clearing sticky key in timer
This commit is contained in:
parent
37946ff57b
commit
2ba16c2f3d
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ void behavior_sticky_key_timer_handler(struct k_work *item) {
|
||||||
if (sticky_key->timer_is_cancelled) {
|
if (sticky_key->timer_is_cancelled) {
|
||||||
sticky_key->timer_is_cancelled = false;
|
sticky_key->timer_is_cancelled = false;
|
||||||
} else {
|
} else {
|
||||||
release_sticky_key_behavior(sticky_key, k_uptime_get());
|
release_sticky_key_behavior(sticky_key, sticky_key->release_at);
|
||||||
clear_sticky_key(sticky_key);
|
clear_sticky_key(sticky_key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue