debuginput task in taskmanager

This commit is contained in:
2021-12-19 04:23:47 +01:00
parent 8210c57dff
commit 3ae6721402
5 changed files with 133 additions and 10 deletions

View File

@ -44,6 +44,7 @@
#ifdef FEATURE_CAN
#include "can.h"
#endif
#include "debuginputhandler.h"
using namespace std::chrono_literals;
@ -85,6 +86,7 @@ espcpputils::SchedulerTask schedulerTasksArr[] {
#ifdef FEATURE_CAN
espcpputils::SchedulerTask { "can", can::initCan, can::parseCanInput, 50ms },
#endif
espcpputils::SchedulerTask { "debuginput", initDebugInput, handleDebugInput, 50ms },
};
} // namespace