fixing some linter stuff

This commit is contained in:
Peter Buchegger 2021-04-09 23:14:47 +02:00
parent 0a74a4c205
commit 40ed046b45
2 changed files with 2 additions and 11 deletions

View file

@ -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() {

View file

@ -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) {