Working CAN communication with forwarding to tasks

This commit is contained in:
@CarlWachter
2024-03-08 19:04:28 +01:00
parent 7732fa2823
commit fd7c123a5e
10 changed files with 58 additions and 36 deletions

View File

@@ -32,7 +32,7 @@ namespace sta
// ###### Register different threads for different states here. ######
// The dummy task runs for state 0.
Manager::instance()->registerThread(std::make_shared<demo::CanTask>("CAN test", 0x22), {ALL_STATES});
Manager::instance()->registerThread(std::make_shared<demo::CanTask>("CAN test", 0x123), {ALL_STATES});
STA_DEBUG_PRINTF("The answer to everything is %d", 42);