mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
fix(sticky keys): use correct timestamp when clearing sticky key in timer
This commit is contained in:
committed by
Pete Johanson
parent
37946ff57b
commit
2ba16c2f3d
@@ -234,7 +234,7 @@ void behavior_sticky_key_timer_handler(struct k_work *item) {
|
||||
if (sticky_key->timer_is_cancelled) {
|
||||
sticky_key->timer_is_cancelled = false;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user