Moved webserver into taskmanager
This commit is contained in:
1 parent
be53c39ebf
commit
b55b649b10
3 files changed
+8
-15
No files matched your search
@@ -54,6 +54,9 @@
|
||||
#ifdef FEATURE_BLE
|
||||
#include "ble_bobby.h"
|
||||
#endif
|
||||
#ifdef FEATURE_WEBSERVER
|
||||
#include "webserver.h"
|
||||
#endif
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
@@ -105,6 +108,9 @@ espcpputils::SchedulerTask schedulerTasksArr[] {
|
||||
#ifdef FEATURE_BLE
|
||||
espcpputils::SchedulerTask { "ble", initBle, handleBle, 100ms },
|
||||
#endif
|
||||
#ifdef FEATURE_WEBSERVER
|
||||
espcpputils::SchedulerTask { "webserver", initWebserver, handleWebserver, 100ms },
|
||||
#endif
|
||||
};
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in new issue
Block a user