mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-04-05 22:47:00 +00:00
fixing #103
This commit is contained in:
parent
3cb8d4bcfe
commit
86791ce4b9
1 changed files with 3 additions and 1 deletions
|
|
@ -14,7 +14,9 @@ void TaskManager::addAlwaysRunTask(Task *task) {
|
|||
}
|
||||
|
||||
std::list<Task *> TaskManager::getTasks() {
|
||||
return _tasks;
|
||||
std::list<Task *> tasks = _alwaysRunTasks;
|
||||
std::copy(_tasks.begin(), _tasks.end(), std::back_inserter(tasks));
|
||||
return tasks;
|
||||
}
|
||||
|
||||
bool TaskManager::setup(System &system) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue