mirror of https://github.com/arendst/Tasmota.git
Remove Tasmota Gratuitous ARP code for ESP32
Remove Tasmota Gratuitous ARP code for ESP32 as it is performed by core/idf
This commit is contained in:
parent
e1c88eb5e1
commit
0f18553237
|
@ -994,8 +994,10 @@ void PerformEverySecond(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ESP8266
|
||||||
// Wifi keep alive to send Gratuitous ARP
|
// Wifi keep alive to send Gratuitous ARP
|
||||||
wifiKeepAlive();
|
wifiKeepAlive();
|
||||||
|
#endif
|
||||||
|
|
||||||
WifiPollNtp();
|
WifiPollNtp();
|
||||||
|
|
||||||
|
|
|
@ -668,6 +668,7 @@ void EspRestart(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ESP8266
|
||||||
//
|
//
|
||||||
// Gratuitous ARP, backported from https://github.com/esp8266/Arduino/pull/6889
|
// Gratuitous ARP, backported from https://github.com/esp8266/Arduino/pull/6889
|
||||||
//
|
//
|
||||||
|
@ -715,6 +716,7 @@ void wifiKeepAlive(void) {
|
||||||
SetNextTimeInterval(wifi_timer, wifiTimerSec * 1000);
|
SetNextTimeInterval(wifi_timer, wifiTimerSec * 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // ESP8266
|
||||||
|
|
||||||
void WifiPollNtp() {
|
void WifiPollNtp() {
|
||||||
static uint8_t ntp_sync_minute = 0;
|
static uint8_t ntp_sync_minute = 0;
|
||||||
|
|
Loading…
Reference in New Issue