()
| 563 | // better use setTimeout instead of setInterval to avoid overlapping calls |
| 564 | } |
| 565 | async 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 |
| 577 | let loadingDrawn = false; |
no test coverage detected