File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ void BMac::initialize(int stage)
104
104
resend_data->setKind (BMAC_RESEND_DATA);
105
105
resend_data->setSchedulingPriority (100 );
106
106
107
- scheduleAt (0.0 , start_bmac);
107
+ scheduleAt (simTime () , start_bmac);
108
108
}
109
109
}
110
110
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ void LMac::initialize(int stage)
89
89
send_control = new cMessage (" send_control" );
90
90
send_control->setKind (LMAC_SEND_CONTROL);
91
91
92
- scheduleAt (0.0 , start_lmac);
92
+ scheduleAt (simTime () , start_lmac);
93
93
EV_DETAIL << " My Mac address is" << interfaceEntry->getMacAddress () << " and my Id is " << myId << endl;
94
94
}
95
95
}
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ void XMac::initialize(int stage)
120
120
switching_done = new cMessage (" switching_done" );
121
121
switching_done->setKind (XMAC_SWITCHING_FINISHED);
122
122
123
- scheduleAt (0.0 , start_xmac);
123
+ scheduleAt (simTime () , start_xmac);
124
124
}
125
125
}
126
126
You can’t perform that action at this time.
0 commit comments