/* * printable.cpp * * Created on: Aug 30, 2023 * Author: Dario */ #include #include #include namespace sta { namespace tacos { void onStatemachineInit() { } void onManagerInit() { // ###### Register different threads for different states here. ###### // Register Spam Thread to only run in the first state addThread({ALL_STATES}, 0x123); // Register Receive Thread to run in states 0 and 2 addThread({0,2}, 0x124); STA_DEBUG_PRINTF("The answer to everything is %d", 42); } } // namespace tacos } // namespace sta