X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/9266b741959871619b5431a2b4e4ebdad5567a3d..f9625e91cfed21a65b720609ed1d8a7e7c0f36bd:/client/tattlekey.c?ds=sidebyside diff --git a/client/tattlekey.c b/client/tattlekey.c index f9b74c1..5e829d1 100644 --- a/client/tattlekey.c +++ b/client/tattlekey.c @@ -119,6 +119,8 @@ void service_queue() { switch (e.type) { case NEW_BUTTON_PRESS: { add_press(pp, &(press_t){e.buttonpress.timestamp, seq++, 0}); + if (seq == 0) + new_epoch(); } break; case RESEND_TIME: { /* OK, we're awake. Cool. Thanks! (We actually do the sends in the