From 00ca9fa67636580409193bf7a9baf394113b4af8 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 9 Oct 2023 21:53:03 -0700 Subject: [PATCH] =?utf8?q?client:=20Rename=20sends.c=20=E2=86=92=20press.c?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- client/CMakeLists.txt | 2 +- client/{sends.c => press.c} | 2 +- client/{sends.h => press.h} | 0 client/tattlekey.c | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename client/{sends.c => press.c} (97%) rename client/{sends.h => press.h} (100%) 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 { -- 2.44.1