terminal: make sure API is loaded after the web server

New apiRegister depends on `webServer()` returning a valid object.
This commit is contained in:
Maxim Prokhorov
2020-12-05 20:26:40 +03:00
parent 9aa0bdfe0e
commit 9f24e6a325
5 changed files with 96 additions and 98 deletions

View File

@@ -203,7 +203,7 @@ size_t AsyncWebPrint::write(const uint8_t* data, size_t size) {
// -----------------------------------------------------------------------------
AsyncWebServer * _server;
AsyncWebServer* _server;
char _last_modified[50];
std::vector<uint8_t> * _webConfigBuffer;
bool _webConfigSuccess = false;