added assert for correct scheduling of LteUePhy::SubframeIndication
This commit is contained in:
@@ -154,6 +154,8 @@ LteUePhy::LteUePhy (Ptr<LteSpectrumPhy> dlPhy, Ptr<LteSpectrumPhy> ulPhy)
|
||||
std::vector <int> ulRb;
|
||||
m_subChannelsForTransmissionQueue.resize (m_macChTtiDelay, ulRb);
|
||||
|
||||
NS_ASSERT_MSG (Simulator::Now ().GetNanoSeconds () == 0,
|
||||
"Cannot create UE devices after simulation started");
|
||||
Simulator::ScheduleNow (&LteUePhy::SubframeIndication, this, 1, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user