Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 8a21702

Browse files
authored
v1.5.4 to fix libb64 fallthrough compile warning
### Releases v1.5.4 1. Fix libb64 `fallthrough` compile warning 2. Fix bug not supporting ESP32/ESP8266 boards. 3. Fix bug for WiFi other than WiFiNINA
1 parent c9701c2 commit 8a21702

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/WiFiWebServer-impl.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,12 @@ void WiFiWebServer::handleClient()
274274
{
275275
yield();
276276
}
277-
277+
278+
#if (USE_WIFI_NINA)
278279
// KH, fix bug relating to New NINA FW 1.4.0. Have to close the connection
279280
_currentClient.stop();
280281
WS_LOGDEBUG(F("handleClient: Client disconnected"));
282+
#endif
281283
}
282284

283285
#else
@@ -382,9 +384,11 @@ void WiFiWebServer::handleClient()
382384

383385
stopClient:
384386

387+
#if (USE_WIFI_NINA)
385388
// KH, fix bug relating to New NINA FW 1.4.0. Have to close the connection
386389
_currentClient.stop();
387390
WS_LOGDEBUG(F("handleClient: Client disconnected"));
391+
#endif
388392
}
389393

390394
#endif

0 commit comments

Comments
 (0)