mirror of
https://github.com/rvdbreemen/OTGW-firmware
synced 2024-11-16 04:33:49 +01:00
reduce number of calls to devtime to lighten the load on the esp8266
This commit is contained in:
parent
4e0939a1dd
commit
499a445847
@ -90,7 +90,7 @@
|
|||||||
refreshDevInfo();
|
refreshDevInfo();
|
||||||
refreshOTmonitor();
|
refreshOTmonitor();
|
||||||
tid = setInterval(function(){refreshOTmonitor(); }, 1000); //delay is in milliseconds
|
tid = setInterval(function(){refreshOTmonitor(); }, 1000); //delay is in milliseconds
|
||||||
timeupdate = setInterval(function(){refreshDevTime(); }, 1000); //delay is in milliseconds
|
timeupdate = setInterval(function(){refreshDevTime(); }, 5000); //delay is in milliseconds
|
||||||
|
|
||||||
document.getElementById("displayMainPage").style.display = "block";
|
document.getElementById("displayMainPage").style.display = "block";
|
||||||
document.getElementById("displaySettingsPage").style.display = "none";
|
document.getElementById("displaySettingsPage").style.display = "none";
|
||||||
|
Loading…
Reference in New Issue
Block a user