Add const to input argument in PHY_ofdm_mod

This commit is contained in:
Bartosz Podrygajlo
2024-12-16 15:35:07 +01:00
parent b92ee59d41
commit 5ab9bd95bd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
@param nb_prefix_samples The number of prefix/suffix/zero samples
@param etype Type of extension (CYCLIC_PREFIX,CYCLIC_SUFFIX,ZEROS)
*/
void PHY_ofdm_mod(int *input,
void PHY_ofdm_mod(const int *input,
int *output,
int fftsize,
unsigned char nb_symbols,
+1 -1
View File
@@ -122,7 +122,7 @@ void nr_normal_prefix_mod(c16_t *txdataF, c16_t *txdata, uint8_t nsymb, const NR
}
void PHY_ofdm_mod(int *input, /// pointer to complex input
void PHY_ofdm_mod(const int *input, /// pointer to complex input
int *output, /// pointer to complex output
int fftsize, /// FFT_SIZE
unsigned char nb_symbols, /// number of OFDM symbols