moved ble to taskmanager

This commit is contained in:
feedc0de committed 2021-12-19 04:48:12 +01:00
1 parent 04515eecb5
commit be53c39ebf
2 files changed
+6 -20

No files matched your search

+6
View File
@@ -51,6 +51,9 @@
#ifdef FEATURE_OTA
#include "ota.h"
#endif
#ifdef FEATURE_BLE
#include "ble_bobby.h"
#endif
using namespace std::chrono_literals;
@@ -99,6 +102,9 @@ espcpputils::SchedulerTask schedulerTasksArr[] {
#ifdef FEATURE_OTA
espcpputils::SchedulerTask { "ota", initOta, handleOta, 50ms },
#endif
#ifdef FEATURE_BLE
espcpputils::SchedulerTask { "ble", initBle, handleBle, 100ms },
#endif
};
} // namespace