mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 08:36:14 +01:00
cleaning
This commit is contained in:
parent
b1f5c34ef2
commit
05db1bdd90
|
@ -21,7 +21,7 @@
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
|
|
||||||
#ifdef WIFI_NINA
|
#ifdef WIFI_NINA
|
||||||
#include <vector>
|
//#include <vector>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
#ifndef ARDUINO_GIGA
|
#ifndef ARDUINO_GIGA
|
||||||
#include <WifiNINA.h>
|
#include <WifiNINA.h>
|
||||||
|
@ -49,8 +49,8 @@
|
||||||
#else
|
#else
|
||||||
#warning "WiFiNINA has no SPI port or pin allocations for this archiecture yet!"
|
#warning "WiFiNINA has no SPI port or pin allocations for this archiecture yet!"
|
||||||
#endif
|
#endif
|
||||||
#define MAX_CLIENTS 10
|
#define MAX_CLIENTS 4
|
||||||
class NetworkClient {
|
/*class NetworkClient {
|
||||||
public:
|
public:
|
||||||
NetworkClient(WiFiClient c) {
|
NetworkClient(WiFiClient c) {
|
||||||
wifi = c;
|
wifi = c;
|
||||||
|
@ -73,7 +73,7 @@ public:
|
||||||
};
|
};
|
||||||
WiFiClient wifi;
|
WiFiClient wifi;
|
||||||
bool inUse = true;
|
bool inUse = true;
|
||||||
};
|
};*/
|
||||||
|
|
||||||
//static std::vector<NetworkClient> clients; // a list to hold all clients
|
//static std::vector<NetworkClient> clients; // a list to hold all clients
|
||||||
static WiFiServer *server = NULL;
|
static WiFiServer *server = NULL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user