diff --git a/lib/include/srslte/common/fsm.h b/lib/include/srslte/common/fsm.h index 403657db0..abb734c05 100644 --- a/lib/include/srslte/common/fsm.h +++ b/lib/include/srslte/common/fsm.h @@ -142,11 +142,11 @@ struct fsm_helper { static_assert(not std::is_same::value, "State cannot transition to itself.\n"); f->exit(srslte::get(f->states)); f->states.transit(std::move(*s)); - call_enter(f, &srslte::get(f->states)); f->log_h->info("FSM \"%s\": Detected transition \"%s\" -> \"%s\"", get_type_name().c_str(), get_type_name().c_str(), get_type_name().c_str()); + call_enter(f, &srslte::get(f->states)); } //! State not present in current FSM. Attempt state transition in parent FSM in the case of NestedFSM template