| 193 | } |
| 194 | |
| 195 | void loop() { |
| 196 | ws.cleanupClients(); |
| 197 | wm.poll(); |
| 198 | |
| 199 | if (intervalSysinfo.doRun()) { |
| 200 | wsSendSysteminfo(); |
| 201 | } |
| 202 | if (intervalVars.doRun() && config.runStatus != RUNSTATUS_STOP) { |
| 203 | checkVars(); |
| 204 | } |
| 205 | if (intervalSaveDB.doRun() && config.runStatus != RUNSTATUS_STOP) { |
| 206 | saveDB("/current/tagDB.json"); |
| 207 | } |
| 208 | if (intervalContentRunner.doRun() && (apInfo.state == AP_STATE_ONLINE || apInfo.state == AP_STATE_NORADIO)) { |
| 209 | contentRunner(); |
| 210 | } |
| 211 | |
| 212 | #ifdef HAS_TFT |
| 213 | extern void yellow_ap_display_loop(void); |
| 214 | yellow_ap_display_loop(); |
| 215 | #endif |
| 216 | |
| 217 | vTaskDelay(100 / portTICK_PERIOD_MS); |
| 218 | } |
nothing calls this directly
no test coverage detected