Commit 59221cdd authored by aligungr's avatar aligungr

MM refactor

parent b92b8161
...@@ -61,10 +61,10 @@ class NasMm ...@@ -61,10 +61,10 @@ class NasMm
public: /* Base */ public: /* Base */
void onStart(NasSm *sm); void onStart(NasSm *sm);
void onQuit(); void onQuit();
void performMmCycle();
private: /* Base */ private: /* Base */
void triggerMmCycle(); void triggerMmCycle();
void performMmCycle();
void switchMmState(EMmState state, EMmSubState subState); void switchMmState(EMmState state, EMmSubState subState);
void switchRmState(ERmState state); void switchRmState(ERmState state);
void switchCmState(ECmState state); void switchCmState(ECmState state);
......
...@@ -91,7 +91,7 @@ void NasTask::onLoop() ...@@ -91,7 +91,7 @@ void NasTask::onLoop()
if (timerId == NTS_TIMER_ID_MM_CYCLE) if (timerId == NTS_TIMER_ID_MM_CYCLE)
{ {
setTimer(NTS_TIMER_ID_MM_CYCLE, NTS_TIMER_INTERVAL_MM_CYCLE); setTimer(NTS_TIMER_ID_MM_CYCLE, NTS_TIMER_INTERVAL_MM_CYCLE);
mm->performMmCycle(); mm->handleNasEvent(NwUeNasToNas{NwUeNasToNas::PERFORM_MM_CYCLE});
} }
break; 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