From: Scott Worley Date: Tue, 10 Oct 2023 04:53:03 +0000 (-0700) Subject: client: Rename sends.c → press.c X-Git-Tag: v0.1.0~35 X-Git-Url: http://git.scottworley.com/tattlekey/commitdiff_plain/00ca9fa67636580409193bf7a9baf394113b4af8 client: Rename sends.c → press.c --- diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 74a4189..50ae120 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -12,7 +12,7 @@ add_executable(tattlekey button.c config.c net.c - sends.c + press.c tattlekey.c ) diff --git a/client/sends.c b/client/press.c similarity index 97% rename from client/sends.c rename to client/press.c index d4fa622..49b2b9a 100644 --- a/client/sends.c +++ b/client/press.c @@ -1,4 +1,4 @@ -#include "sends.h" +#include "press.h" static uint32_t next_send(press_t *s) { return s->timestamp + (1 << s->send_count) - 1; diff --git a/client/sends.h b/client/press.h similarity index 100% rename from client/sends.h rename to client/press.h diff --git a/client/tattlekey.c b/client/tattlekey.c index 14eb7b9..e59de2f 100644 --- a/client/tattlekey.c +++ b/client/tattlekey.c @@ -7,7 +7,7 @@ #include "button.h" #include "config.h" #include "net.h" -#include "sends.h" +#include "press.h" enum event_type { NEW_BUTTON_PRESS, RESEND_TIME }; typedef struct {