LoRa_APRS_iGate/lib/System/System.cpp
Peter Buchegger 52d41dd9f6 big changes:
- task manager working now in round robbin and returning after every task to arduino
- adding a system class which is managing all bigger things
2021-03-21 22:29:31 +01:00

25 lines
498 B
C++

#include "System.h"
System::System(std::shared_ptr<BoardConfig> boardConfig, std::shared_ptr<Configuration> userConfig) : _boardConfig(boardConfig), _userConfig(userConfig) {
}
System::~System() {
}
std::shared_ptr<BoardConfig> System::getBoardConfig() const {
return _boardConfig;
}
std::shared_ptr<Configuration> System::getUserConfig() const {
return _userConfig;
}
TaskManager &System::getTaskManager() {
return _taskManager;
}
Display &System::getDisplay() {
return _display;
}