1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-29 02:14:51 +00:00

Improve const usage

This commit is contained in:
Carles Fernandez 2019-02-11 15:32:06 +01:00
parent b257c6433f
commit 18fda22221

View File

@ -88,7 +88,7 @@ inline static int parity_counter(int symbol, int length)
inline static int nsc_enc_bit(int state_out_p[], inline static int nsc_enc_bit(int state_out_p[],
int input, int input,
int state_in, int state_in,
int g[], const int g[],
int KK, int KK,
int nn) int nn)
{ {
@ -144,7 +144,7 @@ inline static void nsc_transit(int output_p[],
* \param[in] nn The length of the received vector * \param[in] nn The length of the received vector
* *
*/ */
inline static float Gamma(float rec_array[], inline static float Gamma(const float rec_array[],
int symbol, int symbol,
int nn) int nn)
{ {
@ -175,11 +175,11 @@ inline static float Gamma(float rec_array[],
* *
*/ */
inline static void Viterbi(int output_u_int[], inline static void Viterbi(int output_u_int[],
int out0[], const int out0[],
int state0[], const int state0[],
int out1[], const int out1[],
int state1[], const int state1[],
double input_c[], const double input_c[],
int KK, int KK,
int nn, int nn,
int LL) int LL)