diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-05 19:15:28 +0100 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2020-03-05 19:15:28 +0100 |
commit | 4b419bd1ad9f22266e068341176f5ab665a26222 (patch) | |
tree | ec5ee9e379d4de3e15b33f0b640b700bef0750bc /controller/fw/tools/freq_meas_test.c | |
parent | d9b26d16c063aec32b70287ff861a1f23642a9f2 (diff) | |
download | master-thesis-4b419bd1ad9f22266e068341176f5ab665a26222.tar.gz master-thesis-4b419bd1ad9f22266e068341176f5ab665a26222.tar.bz2 master-thesis-4b419bd1ad9f22266e068341176f5ab665a26222.zip |
Working on DSSS demodulator sim
Diffstat (limited to 'controller/fw/tools/freq_meas_test.c')
-rw-r--r-- | controller/fw/tools/freq_meas_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |