summaryrefslogtreecommitdiff
path: root/app/src/split/bluetooth/central.c
diff options
context:
space:
mode:
authorNick Winans <nick.win999@gmail.com>2020-10-23 00:55:50 -0500
committerGitHub <noreply@github.com>2020-10-23 00:55:50 -0500
commit70ffcca3b42f5dacf5be155a56b11387a7e68b63 (patch)
tree80954a5afb17978ad897e3dde0385cfee0a902c9 /app/src/split/bluetooth/central.c
parent162c6b77db27c158b05ed65effa8d8ded68ba9b7 (diff)
parent04b7a759f4c676c96da261a724cef1517614dea1 (diff)
Merge branch 'main' into bluetooth/battery-reporting
Diffstat (limited to 'app/src/split/bluetooth/central.c')
-rw-r--r--app/src/split/bluetooth/central.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/split/bluetooth/central.c b/app/src/split/bluetooth/central.c
index cb1b68b..ed52ba0 100644
--- a/app/src/split/bluetooth/central.c
+++ b/app/src/split/bluetooth/central.c
@@ -60,6 +60,7 @@ static u8_t split_central_notify_func(struct bt_conn *conn, struct bt_gatt_subsc
struct position_state_changed *pos_ev = new_position_state_changed();
pos_ev->position = position;
pos_ev->state = pressed;
+ pos_ev->timestamp = k_uptime_get();
LOG_DBG("Trigger key position state change for %d", position);
ZMK_EVENT_RAISE(pos_ev);