X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/9266b741959871619b5431a2b4e4ebdad5567a3d..3c8c23bba013dd7aad787692bc86d58e713977d2:/client/tattlekey.c 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