Skip to content

Commit

Permalink
bugfix mDNS update
Browse files Browse the repository at this point in the history
  • Loading branch information
mkgeiger committed Mar 18, 2019
1 parent a583a77 commit 939ca54
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions GeigerCounter/GeigerCounter.ino
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,11 @@ void setup()

void loop()
{
// processing mDNS
MDNS.update();
if (WiFi.status() == WL_CONNECTED)
{
// processing mDNS
MDNS.update();
}

// piezo tick handling
switch (piezo_state)
Expand Down

0 comments on commit 939ca54

Please sign in to comment.