]>
git.scottworley.com Git - tattlekey/blob - client/sends.h
b13f9a8e65b0b38e0053cd647110f851fd097bd7
4 #include "pico/cyw43_arch.h"
5 #include "pico/util/pheap.h"
13 bool next_send_less_than(void *user_data
, pheap_node_id_t a
, pheap_node_id_t b
);
15 void create_press(press_t
*presses
, pheap_t
*sleeps_heap
, uint32_t timestamp
,
18 /* When do we next need to send something (in seconds since boot)?
19 * Returns -1 if there's nothing pending. */
20 int32_t next_scheduled_send(press_t
*presses
, pheap_t
*sleeps_heap
);