bluetooth to taskmanager migrated

This commit is contained in:
feedc0de committed 2021-12-19 02:49:50 +01:00
1 parent 304ce9925f
commit 2ec19d2def
6 files changed
+56 -34

No files matched your search

+6
View File
@@ -38,6 +38,9 @@
#include "time_bobbycar.h"
#endif
#include "potis.h"
#ifdef FEATURE_BLUETOOTH
#include "bluetooth_bobby.h"
#endif
using namespace std::chrono_literals;
@@ -73,6 +76,9 @@ espcpputils::SchedulerTask schedulerTasksArr[] {
espcpputils::SchedulerTask { "time", initTime, updateTime, 100ms },
#endif
espcpputils::SchedulerTask { "potis", initPotis, readPotis, 20ms },
#ifdef FEATURE_BLUETOOTH
espcpputils::SchedulerTask { "bluetooth", bluetooth_init, bluetooth_update, 100ms },
#endif
};
} // namespace