mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-12 00:02:53 +00:00
Fixed 8266 build
This commit is contained in:
parent
b0c1bfb156
commit
ff636b8dfa
@ -751,9 +751,9 @@ void handleNtp() {
|
||||
#if defined(ESP8266)
|
||||
void handleMdns() {
|
||||
if(mdnsEnabled) {
|
||||
start = millis();
|
||||
unsigned long start = millis();
|
||||
MDNS.update();
|
||||
end = millis();
|
||||
unsigned long end = millis();
|
||||
if(end - start > SLOW_PROC_TRIGGER_MS) {
|
||||
debugW_P(PSTR("Used %dms to update mDNS"), millis()-start);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user