Skip to content

Commit

Permalink
don't shutoff wifi during update.
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Mar 6, 2024
1 parent 9157a78 commit f495097
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/HTTP_Server_Basic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,10 +405,6 @@ void HTTP_Server::start() {
void HTTP_Server::webClientUpdate(void *pvParameters) {
static unsigned long mDnsTimer = millis(); // NOLINT: There is no overload in String for uint64_t
for (;;) {
// be quiet while updating via BLE
while (ss2k->isUpdating) {
vTaskDelay(100);
}
server.handleClient();
vTaskDelay(WEBSERVER_DELAY / portTICK_RATE_MS);
if (WiFi.getMode() != WIFI_MODE_STA) {
Expand Down

0 comments on commit f495097

Please sign in to comment.