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