Amalgamate the two Trellis implementations and small cleanups.

This commit is contained in:
Jonathan Naylor
2024-10-02 14:42:25 +01:00
parent bc43db1e02
commit ec9f7d7496
20 changed files with 134 additions and 538 deletions

View File

@@ -23,6 +23,11 @@
#include "Display.h"
#include "Timer.h"
#if defined(_WIN32) || defined(_WIN64)
#include <ws2tcpip.h>
#include <WinSock2.h>
#endif
#include <string>
class CLCDproc : public CDisplay
@@ -89,7 +94,11 @@ private:
unsigned int m_rssiCount1;
unsigned int m_rssiCount2;
int socketPrintf(int fd, const char *format, ...);
#if defined(_WIN32) || defined(_WIN64)
int socketPrintf(SOCKET fd, const char* format, ...);
#else
int socketPrintf(int fd, const char* format, ...);
#endif
void defineScreens();
};