From adf355dc420c072b09c5d40187a62c300234d85d Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 9 Oct 2023 21:33:44 -0700 Subject: [PATCH] client: Rename: send_report -> send_report_packet --- client/net.c | 2 +- client/net.h | 2 +- client/tattlekey.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/net.c b/client/net.c index 9ced48f..b38d0a8 100644 --- a/client/net.c +++ b/client/net.c @@ -33,7 +33,7 @@ struct tattle_message_wire_format { u16_t ago; }; -void send_report(u16_t seq, u16_t ago) { +void send_report_packet(u16_t seq, u16_t ago) { cyw43_arch_lwip_begin(); initialize_the_pcb(); diff --git a/client/net.h b/client/net.h index 3cc0791..7805cb9 100644 --- a/client/net.h +++ b/client/net.h @@ -3,6 +3,6 @@ #include "lwip/arch.h" -void send_report(u16_t seq, u16_t ago); +void send_report_packet(u16_t seq, u16_t ago); #endif diff --git a/client/tattlekey.c b/client/tattlekey.c index c600448..2fc604b 100644 --- a/client/tattlekey.c +++ b/client/tattlekey.c @@ -78,7 +78,7 @@ void service_sleeps(int alarm, send_t *sleeping_sends, pheap_t *sleeps_heap) { pheap_node_id_t i = ph_remove_head(sleeps_heap, false); send_t *send = &sleeping_sends[i]; uint32_t ago = now - send->timestamp; - send_report(send->seq, ago); + send_report_packet(send->seq, ago); send->send_count++; if (send->send_count < config_resend_count) ph_insert_node(sleeps_heap, i); -- 2.44.1