Skip to content

Commit

Permalink
Merge pull request #491 from doudar/DnsFix
Browse files Browse the repository at this point in the history
dns fix
  • Loading branch information
doudar authored Nov 7, 2023
2 parents 6472ac3 + e90e10a commit 58e31b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated communications overview picture.
- Updated kit purchasing links.
- MIN_ERG_CADENCE created and changed from 20 to 30.
- Fixed DNS server in AP mode.

### Hardware
- Wire diameter reduced from 7.2mm to 6.0mm on the window passthrough to accommodate the latest batch of cables.
Expand Down
2 changes: 1 addition & 1 deletion src/HTTP_Server_Basic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ void HTTP_Server::webClientUpdate(void *pvParameters) {
for (;;) {
server.handleClient();
vTaskDelay(WEBSERVER_DELAY / portTICK_RATE_MS);
if (WiFi.getMode() == WIFI_AP) {
if (WiFi.getMode() != WIFI_MODE_STA) {
dnsServer.processNextRequest();
}
// Keep MDNS alive
Expand Down

0 comments on commit 58e31b6

Please sign in to comment.