MCPcopy Create free account
hub / github.com/BruceDevices/firmware / autoReloadScreen

Function autoReloadScreen

embedded_resources/web_interface/index.js:565–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

563 // better use setTimeout instead of setInterval to avoid overlapping calls
564}
565async function autoReloadScreen() {
566 let timer = parseInt(eConfigAutoReload.value);
567
568 if (AUTO_RELOAD_SCREEN) {
569 clearTimeout(AUTO_RELOAD_SCREEN);
570 AUTO_RELOAD_SCREEN = null;
571 }
572
573 if (timer > 0) taskReloader();
574}
575
576/// TFT RENDER
577let loadingDrawn = false;

Callers 2

openNavigatorFunction · 0.85
index.jsFile · 0.85

Calls 1

taskReloaderFunction · 0.85

Tested by

no test coverage detected