mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 08:36:14 +01:00
works, but uses multi connects per client
This commit is contained in:
parent
7f430ce6bd
commit
330bdf58a1
|
@ -219,7 +219,7 @@ void WifiNINA::checkForNewClient() {
|
|||
for (byte clientId=0; clientId<MAX_CLIENTS; clientId++){
|
||||
if (!clients[clientId]) {
|
||||
clients[clientId]= new WiFiClient(newClient); // use this slot
|
||||
clients[clientId]->flush(); // clear out the input buffer
|
||||
///clients[clientId]->flush(); // clear out the input buffer
|
||||
DIAG(F("New client connected to slot %d"),clientId); //TJF: brought in for debugging.
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user