summaryrefslogtreecommitdiff
path: root/app/src/split/bluetooth
diff options
context:
space:
mode:
authorMubeen Khan <mubeen@mubeen.co>2020-10-11 23:17:04 -0500
committerGitHub <noreply@github.com>2020-10-11 23:17:04 -0500
commitd45e7b3c1190209953d5ffefff39f23341dbd88c (patch)
treed49b709299c9e29e41fadfa6f20d2e8ee9159cdc /app/src/split/bluetooth
parent7fc7a351170fb2017cb40e8de79b4535a936a6f6 (diff)
parentba73e5d4ac295cc67e03fca9f80030022b8f529c (diff)
Merge pull request #7 from zmkfirmware/main
Update to stay even with upstream main
Diffstat (limited to 'app/src/split/bluetooth')
-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);