diff --git a/src/app/SAB.cpp b/src/app/SAB.cpp index abb1a97..1e9a6dc 100644 --- a/src/app/SAB.cpp +++ b/src/app/SAB.cpp @@ -138,3 +138,11 @@ unsigned char SAB::getError() const { return _error; } + +void SAB::run() +{ + _webServer.run(); + _ftpServer.run(); + _taskSchedulerManager.run(); + _screenManager.run(); +} diff --git a/src/app/SAB.h b/src/app/SAB.h index 707052c..74dfab4 100644 --- a/src/app/SAB.h +++ b/src/app/SAB.h @@ -41,6 +41,7 @@ class SAB PowerManager& getPowerManager(); TimeSpan getUpTime(); BoardConfig getBoardConfig() const; + void run(); const char *getSoftVersion() const; unsigned char getError() const;