Moved serial controller comm to taskmanager

This commit is contained in:
feedc0de committed 2021-12-19 04:35:37 +01:00
1 parent 3ae6721402
commit a1946e2e02
7 files changed
+43 -18

No files matched your search

+6
View File
@@ -45,6 +45,9 @@
#include "can.h"
#endif
#include "debuginputhandler.h"
#ifdef FEATURE_SERIAL
#include "serial_bobby.h"
#endif
using namespace std::chrono_literals;
@@ -87,6 +90,9 @@ espcpputils::SchedulerTask schedulerTasksArr[] {
espcpputils::SchedulerTask { "can", can::initCan, can::parseCanInput, 50ms },
#endif
espcpputils::SchedulerTask { "debuginput", initDebugInput, handleDebugInput, 50ms },
#ifdef FEATURE_SERIAL
espcpputils::SchedulerTask { "serial", initSerial, updateSerial, 50ms },
#endif
};
} // namespace