| 37 | struct StateUnInit : public etl::fsm_state<etl::fsm, StateUnInit, |
| 38 | TaskStatusId::kUnInit, MsgSchedule> { |
| 39 | auto on_event(const MsgSchedule&) -> etl::fsm_state_id_t { |
| 40 | return TaskStatusId::kReady; |
| 41 | } |
| 42 | auto on_event_unknown(const etl::imessage& msg) -> etl::fsm_state_id_t { |
| 43 | klog::Warn("TaskFsm: UnInit received unexpected message id={}", |
| 44 | static_cast<int>(msg.get_message_id())); |
nothing calls this directly
no outgoing calls
no test coverage detected