Skip to content

Commit

Permalink
LteDlFeedbackGenerator: replace getAncestorPar() call with par()
Browse files Browse the repository at this point in the history
The module already has the parameter "feedbackGeneratorType", getAncestorPar() found that.
  • Loading branch information
ZoltanBojthe authored and giovanninardini committed Jun 20, 2024
1 parent b9fb66b commit 2188d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stack/phy/feedback/LteDlFeedbackGenerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ void LteDlFeedbackGenerator::sendFeedback(LteFeedbackDoubleVector fb,
{
feedbackReq.request = true;
feedbackReq.genType = getFeedbackGeneratorType(
getAncestorPar("feedbackGeneratorType").stringValue());
par("feedbackGeneratorType").stringValue());
feedbackReq.type = getFeedbackType(par("feedbackType").stringValue());
feedbackReq.txMode = currentTxMode_;
feedbackReq.rbAllocationType = rbAllocationType_;
Expand Down

0 comments on commit 2188d6c

Please sign in to comment.