Moved webserver into taskmanager

This commit is contained in:
2021-12-19 04:56:24 +01:00
parent be53c39ebf
commit b55b649b10
3 changed files with 8 additions and 15 deletions

View File

@@ -27,9 +27,6 @@ using namespace std::chrono_literals;
#include "screens.h"
#include "presets.h"
#include "statistics.h"
#ifdef FEATURE_WEBSERVER
#include "webserver.h"
#endif
#ifdef FEATURE_CLOUD
#include "cloud.h"
#include "udpcloud.h"
@@ -122,14 +119,6 @@ extern "C" void app_main()
currentMode = &modes::defaultMode;
#ifdef FEATURE_WEBSERVER
bootLabel.redraw("webserver");
initWebserver();
#endif
bootLabel.redraw("potis");
readPotis();
#ifdef FEATURE_CLOUD
bootLabel.redraw("cloud");
initCloud();
@@ -239,10 +228,6 @@ extern "C" void app_main()
}
#endif
#ifdef FEATURE_WEBSERVER
handleWebserver();
#endif
#ifdef FEATURE_BMS
bms::update();
#endif