8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbabc10 commit 4c1c537Copy full SHA for 4c1c537
src/WebSocketsServer.cpp
@@ -589,8 +589,6 @@ void WebSocketsServer::handleNewClients(void) {
589
590
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
591
while(_server->hasClient()) {
592
-#elif (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP32)
593
- while(_server->available()) {
594
#endif
595
bool ok = false;
596
@@ -621,8 +619,9 @@ void WebSocketsServer::handleNewClients(void) {
621
619
622
620
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266) || (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP32)
623
delay(0);
624
-#endif
625
}
+#endif
+
626
627
628
0 commit comments