diff options
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); |