mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +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)
|
||||
{
|
||||
#if HASP_USE_ETHERNET > 0
|
||||
ethernetEvery5Seconds();
|
||||
return ethernetEvery5Seconds();
|
||||
#endif
|
||||
|
||||
#if HASP_USE_WIFI > 0
|
||||
wifiEvery5Seconds();
|
||||
return wifiEvery5Seconds();
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
bool networkEverySecond(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user