mirror of https://github.com/zmkfirmware/zmk.git
satisfy pre-commit checks
This commit is contained in:
parent
77bb7c746a
commit
6ae088c36f
|
|
@ -66,10 +66,7 @@ static void reset_timer(int32_t timestamp, struct active_tri_state *tri_state) {
|
|||
}
|
||||
|
||||
void trigger_end_behavior(struct active_tri_state *si) {
|
||||
struct zmk_behavior_binding_event ev = {
|
||||
.position = si->position,
|
||||
.timestamp = k_uptime_get()
|
||||
};
|
||||
struct zmk_behavior_binding_event ev = {.position = si->position, .timestamp = k_uptime_get()};
|
||||
zmk_behavior_queue_add(&ev, si->config->behaviors[2], true, si->config->tap_ms);
|
||||
zmk_behavior_queue_add(&ev, si->config->behaviors[2], false, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue