]> git.scottworley.com Git - tattlekey/commitdiff
client: Rename sends.c → press.c
authorScott Worley <scottworley@scottworley.com>
Tue, 10 Oct 2023 04:53:03 +0000 (21:53 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 11 Oct 2023 01:49:27 +0000 (18:49 -0700)
client/CMakeLists.txt
client/press.c [moved from client/sends.c with 97% similarity]
client/press.h [moved from client/sends.h with 100% similarity]
client/tattlekey.c

index 74a41895c9a4a639f0753b24b7a4f0aceb82a41e..50ae1200e4781f415baf53f5c4fab1b42fb9becc 100644 (file)
@@ -12,7 +12,7 @@ add_executable(tattlekey
   button.c
   config.c
   net.c
   button.c
   config.c
   net.c
-  sends.c
+  press.c
   tattlekey.c
   )
 
   tattlekey.c
   )
 
similarity index 97%
rename from client/sends.c
rename to client/press.c
index d4fa62207ff91530478829a0f1830578709f7be5..49b2b9a875eb9473c1b794de0be1eb976fe8338f 100644 (file)
@@ -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;
 
 static uint32_t next_send(press_t *s) {
   return s->timestamp + (1 << s->send_count) - 1;
similarity index 100%
rename from client/sends.h
rename to client/press.h
index 14eb7b92c909494563e5475d3bb5cfc5aa95906b..e59de2fa3807c59ff37a431a3bac29570fbc8ec7 100644 (file)
@@ -7,7 +7,7 @@
 #include "button.h"
 #include "config.h"
 #include "net.h"
 #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 {
 
 enum event_type { NEW_BUTTON_PRESS, RESEND_TIME };
 typedef struct {