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();
#include "lwip/arch.h"
-void send_report(u16_t seq, u16_t ago);
+void send_report_packet(u16_t seq, u16_t ago);
#endif
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);