1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 08:36:14 +01:00
This commit is contained in:
travis-farmer 2023-11-03 07:34:05 -04:00
parent b1f5c34ef2
commit 05db1bdd90
No known key found for this signature in database
GPG Key ID: 0BC296791D14CB35

View File

@ -21,7 +21,7 @@
#include "defines.h"
#ifdef WIFI_NINA
#include <vector>
//#include <vector>
#include <SPI.h>
#ifndef ARDUINO_GIGA
#include <WifiNINA.h>
@ -49,8 +49,8 @@
#else
#warning "WiFiNINA has no SPI port or pin allocations for this archiecture yet!"
#endif
#define MAX_CLIENTS 10
class NetworkClient {
#define MAX_CLIENTS 4
/*class NetworkClient {
public:
NetworkClient(WiFiClient c) {
wifi = c;
@ -73,7 +73,7 @@ public:
};
WiFiClient wifi;
bool inUse = true;
};
};*/
//static std::vector<NetworkClient> clients; // a list to hold all clients
static WiFiServer *server = NULL;