From 4b419bd1ad9f22266e068341176f5ab665a26222 Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 5 Mar 2020 19:15:28 +0100 Subject: Working on DSSS demodulator sim --- controller/fw/tools/freq_meas_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controller/fw/tools/freq_meas_test.c') diff --git a/controller/fw/tools/freq_meas_test.c b/controller/fw/tools/freq_meas_test.c index df3e39d..e80290e 100644 --- a/controller/fw/tools/freq_meas_test.c +++ b/controller/fw/tools/freq_meas_test.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) { } fprintf(stderr, " done.\n"); - size_t n_samples = st.st_size / sizeof(float); + const size_t n_samples = st.st_size / sizeof(float); float *buf_f = (float *)buf; int16_t *sim_adc_buf = calloc(sizeof(int16_t), n_samples); -- cgit