diff --git a/App/Src/startup.cpp b/App/Src/startup.cpp index dcb1425..22c86cb 100644 --- a/App/Src/startup.cpp +++ b/App/Src/startup.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -31,8 +32,9 @@ namespace sta { // ###### Register different threads for different states here. ###### - // The dummy task runs for state 0. - Manager::instance()->registerThread(std::make_shared("CAN test", 0x123), {ALL_STATES}); + Manager::instance()->registerThread(std::make_shared(SYSTEM_CAN_MSG_HANDLER), {ALL_STATES}); + Manager::instance()->registerThread(std::make_shared(SYSTEM_CAN_THERMO), {ALL_STATES}); + Manager::instance()->registerThread(std::make_shared(SYSTEM_CAN_RELAY), {ALL_STATES}); STA_DEBUG_PRINTF("The answer to everything is %d", 42);