From 9e0bcb7fe473708f7217c46fd3784077c494bc8d Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Thu, 25 Jul 2024 15:51:14 +0200 Subject: [PATCH] nr_modulation(): make non-changing input parameter const ptr --- openair1/PHY/MODULATION/nr_modulation.c | 6 +++--- openair1/PHY/MODULATION/nr_modulation.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openair1/PHY/MODULATION/nr_modulation.c b/openair1/PHY/MODULATION/nr_modulation.c index 85490be63b..ad84245f86 100644 --- a/openair1/PHY/MODULATION/nr_modulation.c +++ b/openair1/PHY/MODULATION/nr_modulation.c @@ -112,7 +112,7 @@ const char nr_W_4l_4p[5][4][4] = { {{'1', '1', '1', '1'}, {'1', 'n', '1', 'n'}, {'j', 'j', 'o', 'o'}, {'j', 'o', 'o', 'j'}} // pmi 4 }; -void nr_modulation(uint32_t *in, +void nr_modulation(const uint32_t *in, uint32_t length, uint16_t mod_order, int16_t *out) @@ -120,8 +120,8 @@ void nr_modulation(uint32_t *in, uint16_t mask = ((1<