mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-01-06 00:29:57 +01:00
fixing some linter stuff
This commit is contained in:
parent
0a74a4c205
commit
40ed046b45
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#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> boardConfig, std::shared_ptr<Configuration> userConfig) : _boardConfig(boardConfig), _userConfig(userConfig), _isWifiEthConnected(false) {
|
||||
}
|
||||
|
||||
System::~System() {
|
||||
|
|
|
|||
|
|
@ -55,17 +55,8 @@ bool TaskManager::loop(std::shared_ptr<System> system) {
|
|||
_nextTask = _tasks.begin();
|
||||
}
|
||||
bool ret = (*_nextTask)->loop(system);
|
||||
_nextTask++;
|
||||
++_nextTask;
|
||||
return ret;
|
||||
|
||||
for (std::shared_ptr<Task> &elem : _tasks) {
|
||||
// logPrintD("call loop from ");
|
||||
// logPrintlnD(elem->getName());
|
||||
if (!elem->loop(system)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void StatusFrame::drawStatusPage(Bitmap &bitmap) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue