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:
Theo Arends 2021-11-22 16:20:26 +01:00
parent e1c88eb5e1
commit 0f18553237
2 changed files with 4 additions and 0 deletions

View File

@ -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();

View File

@ -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;