mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
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
|
||||
wifiKeepAlive();
|
||||
#endif
|
||||
|
||||
WifiPollNtp();
|
||||
|
||||
|
@ -668,6 +668,7 @@ void EspRestart(void)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef ESP8266
|
||||
//
|
||||
// Gratuitous ARP, backported from https://github.com/esp8266/Arduino/pull/6889
|
||||
//
|
||||
@ -715,6 +716,7 @@ void wifiKeepAlive(void) {
|
||||
SetNextTimeInterval(wifi_timer, wifiTimerSec * 1000);
|
||||
}
|
||||
}
|
||||
#endif // ESP8266
|
||||
|
||||
void WifiPollNtp() {
|
||||
static uint8_t ntp_sync_minute = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user