mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +00:00
Return network status
This commit is contained in:
parent
046d4f3ec6
commit
ee89dd3b33
@ -58,12 +58,13 @@ void IRAM_ATTR networkLoop(void)
|
|||||||
bool networkEvery5Seconds(void)
|
bool networkEvery5Seconds(void)
|
||||||
{
|
{
|
||||||
#if HASP_USE_ETHERNET > 0
|
#if HASP_USE_ETHERNET > 0
|
||||||
ethernetEvery5Seconds();
|
return ethernetEvery5Seconds();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HASP_USE_WIFI > 0
|
#if HASP_USE_WIFI > 0
|
||||||
wifiEvery5Seconds();
|
return wifiEvery5Seconds();
|
||||||
#endif
|
#endif
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool networkEverySecond(void)
|
bool networkEverySecond(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user