From 18b285124678878e098d133625702b2b5a22cc28 Mon Sep 17 00:00:00 2001 From: Boris Gorelov Date: Thu, 14 Jul 2022 15:39:05 +0300 Subject: [PATCH] Fix pucch test uci cfg --- lib/src/phy/phch/test/pucch_test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/src/phy/phch/test/pucch_test.c b/lib/src/phy/phch/test/pucch_test.c index 701c9bab70..d223978c55 100644 --- a/lib/src/phy/phch/test/pucch_test.c +++ b/lib/src/phy/phch/test/pucch_test.c @@ -236,21 +236,21 @@ int main(int argc, char** argv) break; case SRSRAN_PUCCH_FORMAT_1A: case SRSRAN_PUCCH_FORMAT_2A: - uci_data.value.ack.ack_value[0] = 1; - uci_data.cfg.ack[0].nof_acks = 1; + uci_data.value.ack.ack_value[0] = 1; + pucch_cfg.uci_cfg.ack[0].nof_acks = 1; break; case SRSRAN_PUCCH_FORMAT_1B: case SRSRAN_PUCCH_FORMAT_2B: case SRSRAN_PUCCH_FORMAT_3: - uci_data.value.ack.ack_value[0] = 1; - uci_data.value.ack.ack_value[1] = 1; - uci_data.cfg.ack[0].nof_acks = 2; + uci_data.value.ack.ack_value[0] = 1; + uci_data.value.ack.ack_value[1] = 1; + pucch_cfg.uci_cfg.ack[0].nof_acks = 2; break; default: break; } if (format >= SRSRAN_PUCCH_FORMAT_2) { - uci_data.cfg.cqi.data_enable = true; + pucch_cfg.uci_cfg.cqi.data_enable = true; } // Encode PUCCH signals