Added a run method which is including run methods from different services
This commit is contained in:
parent
ca819f0e93
commit
d371eeb267
@ -138,3 +138,11 @@ unsigned char SAB::getError() const
|
|||||||
{
|
{
|
||||||
return _error;
|
return _error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SAB::run()
|
||||||
|
{
|
||||||
|
_webServer.run();
|
||||||
|
_ftpServer.run();
|
||||||
|
_taskSchedulerManager.run();
|
||||||
|
_screenManager.run();
|
||||||
|
}
|
||||||
|
@ -41,6 +41,7 @@ class SAB
|
|||||||
PowerManager& getPowerManager();
|
PowerManager& getPowerManager();
|
||||||
TimeSpan getUpTime();
|
TimeSpan getUpTime();
|
||||||
BoardConfig getBoardConfig() const;
|
BoardConfig getBoardConfig() const;
|
||||||
|
void run();
|
||||||
|
|
||||||
const char *getSoftVersion() const;
|
const char *getSoftVersion() const;
|
||||||
unsigned char getError() const;
|
unsigned char getError() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user