mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-04-04 14:08:34 +00:00
Merge branch 'develop' into dj1an-dev-sf
This commit is contained in:
commit
e6d5ebfbe9
5 changed files with 14 additions and 2 deletions
|
|
@ -42,6 +42,11 @@ void Display::setDisplaySaveTimeout(uint32_t timeout) {
|
|||
_displaySaveModeTimer.setTimeout(timeout * 1000);
|
||||
}
|
||||
|
||||
void Display::activateDistplay()
|
||||
{
|
||||
_disp->displayOn();
|
||||
}
|
||||
|
||||
void Display::update() {
|
||||
if (_displayFrameRate.check()) {
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ public:
|
|||
void activateDisplaySaveMode();
|
||||
void setDisplaySaveTimeout(uint32_t timeout);
|
||||
|
||||
void activateDistplay();
|
||||
|
||||
// functions for update loop
|
||||
void update();
|
||||
void addFrame(std::shared_ptr<DisplayFrame> frame);
|
||||
|
|
|
|||
|
|
@ -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