mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
Add legacy support
This commit is contained in:
parent
6f51fd4763
commit
d8f750ebb9
@ -815,8 +815,10 @@ void PerformEverySecond(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||||
// Wifi keep alive to send Gratuitous ARP
|
// Wifi keep alive to send Gratuitous ARP
|
||||||
wifiKeepAlive();
|
wifiKeepAlive();
|
||||||
|
#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------------------------*\
|
||||||
|
@ -712,6 +712,7 @@ void EspRestart(void)
|
|||||||
ESP.reset();
|
ESP.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef ARDUINO_ESP8266_RELEASE_2_3_0
|
||||||
//
|
//
|
||||||
// Gratuitous ARP, backported from https://github.com/esp8266/Arduino/pull/6889
|
// Gratuitous ARP, backported from https://github.com/esp8266/Arduino/pull/6889
|
||||||
//
|
//
|
||||||
@ -759,3 +760,4 @@ void wifiKeepAlive(void) {
|
|||||||
SetNextTimeInterval(wifiTimer, wifiTimerSec * 1000);
|
SetNextTimeInterval(wifiTimer, wifiTimerSec * 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif // ARDUINO_ESP8266_RELEASE_2_3_0
|
Loading…
x
Reference in New Issue
Block a user