mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-10-22 19:41:48 +00:00
* companion: minor refactor of who should invoke UITask::loop()
This commit is contained in:
1 parent
39cc221125
commit
1295c4633b
2 files changed
+3
-1
No files matched your search
@@ -1474,7 +1474,6 @@ void MyMesh::loop() {
|
||||
|
||||
#ifdef DISPLAY_CLASS
|
||||
ui_task.setHasConnection(_serial->isConnected());
|
||||
ui_task.loop();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -193,4 +193,7 @@ void setup() {
|
||||
void loop() {
|
||||
the_mesh.loop();
|
||||
sensors.loop();
|
||||
#ifdef DISPLAY_CLASS
|
||||
ui_task.loop();
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user