inet-framework / simulte

SimuLTE - LTE System Level Simulation Model and Simulator for INET & OMNeT++ - deprecated, use Simu5G instead
https://simulte.omnetpp.org
Other
136 stars 109 forks source link

[LteFeedbackGenerator] Periodic Sensing is started wrong! #4

Open floxyz opened 10 years ago

floxyz commented 10 years ago

In the file src/stack/phy/feedback/LteFeedbackGenerator.cc the periodic sensing interval is started incorrectly:

if (usePeriodic_)
{
     tPeriodicSensing_->start(NOW);
}

Due to the nature of the start command this would start the timer at time NOW+NOW, which, I am pretty sure, is not the intended behavior. Therefore this should be:

if (usePeriodic_)
{
     tPeriodicSensing_->start(0);
}