* companion: minor refactor of who should invoke UITask::loop()

This commit is contained in:
Scott Powell
2025-06-21 20:48:28 +10:00
rodzic 39cc221125
commit 1295c4633b
2 zmienionych plików z 3 dodań i 1 usunięć
-1
Wyświetl plik
@@ -1474,7 +1474,6 @@ void MyMesh::loop() {
#ifdef DISPLAY_CLASS
ui_task.setHasConnection(_serial->isConnected());
ui_task.loop();
#endif
}
+3
Wyświetl plik
@@ -193,4 +193,7 @@ void setup() {
void loop() {
the_mesh.loop();
sensors.loop();
#ifdef DISPLAY_CLASS
ui_task.loop();
#endif
}