X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/50435977481a94712de2c37793eed369f1fe4431..c13b90631df5a49239a321369b406fc9b56af501:/client/tattlekey.c?ds=inline 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