Cleanup includes

This actually gained us 10% more flash space
This commit is contained in:
2025-10-16 21:03:35 -04:00
parent ab7dc2d5d6
commit d69a5327de
29 changed files with 47 additions and 95 deletions

View File

@@ -10,16 +10,14 @@
#include <unordered_set>
#include "freertos/FreeRTOS.h"
#include "IRPCServer.h"
#include "PtrQueue.h"
class TCPServer : IRPCServer {
class TCPServer final : IRPCServer {
public:
TCPServer(int port, const std::shared_ptr<PtrQueue<std::vector<uint8_t>>>& rx_queue);
~TCPServer();
int send_msg(char* buffer, uint32_t length) const;
~TCPServer() override;
int send_msg(char* buffer, uint32_t length) const override;
private:
bool authenticate_client(int client_sock);