Commit 59221cdd authored by aligungr's avatar aligungr

MM refactor

parent b92b8161
......@@ -61,10 +61,10 @@ class NasMm
public: /* Base */
void onStart(NasSm *sm);
void onQuit();
void performMmCycle();
private: /* Base */
void triggerMmCycle();
void performMmCycle();
void switchMmState(EMmState state, EMmSubState subState);
void switchRmState(ERmState state);
void switchCmState(ECmState state);
......
......@@ -91,7 +91,7 @@ void NasTask::onLoop()
if (timerId == NTS_TIMER_ID_MM_CYCLE)
{
setTimer(NTS_TIMER_ID_MM_CYCLE, NTS_TIMER_INTERVAL_MM_CYCLE);
mm->performMmCycle();
mm->handleNasEvent(NwUeNasToNas{NwUeNasToNas::PERFORM_MM_CYCLE});
}
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment