X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/d7789e5bc00881da0f9e0e96b867309f5289dc8f..3a07ca822f74d4fa3ee27719b36c56c0206b8442:/client/net.c diff --git a/client/net.c b/client/net.c index 9ced48f..6253d61 100644 --- a/client/net.c +++ b/client/net.c @@ -1,3 +1,20 @@ +/* tattlekey: A one-key UDP keyboard + * Copyright (C) 2023 Scott Worley + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "net.h" #include "blink.h" #include "config.h" @@ -33,7 +50,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();