From: Scott Worley Date: Tue, 10 Oct 2023 04:33:44 +0000 (-0700) Subject: client: Rename: send_report -> send_report_packet X-Git-Tag: v0.1.0~39 X-Git-Url: http://git.scottworley.com/tattlekey/commitdiff_plain/adf355dc420c072b09c5d40187a62c300234d85d client: Rename: send_report -> send_report_packet --- 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);