more bugfix

This commit is contained in:
Ryzerth 2020-07-20 15:26:59 +02:00
parent d85fed00a0
commit 355a348ba0
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ if (MSVC)
include_directories(sdrpp "C:/Program Files/PothosSDR/include/volk/")
include_directories(sdrpp "C:/Program Files/PothosSDR/include/")
else()
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -fsanitize=address")
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -fsanitize=address -g")
include_directories(sdrpp "/usr/include/volk")
link_libraries(pthread)
link_libraries(GL)

View File

@ -60,8 +60,8 @@ void windowInit() {
fSel.init();
fSel.setFrequency(90500000);
fft_in = (fftwf_complex*) fftw_malloc(sizeof(fftwf_complex) * fftSize);
fft_out = (fftwf_complex*) fftw_malloc(sizeof(fftwf_complex) * fftSize);
fft_in = (fftwf_complex*) fftwf_malloc(sizeof(fftwf_complex) * fftSize);
fft_out = (fftwf_complex*) fftwf_malloc(sizeof(fftwf_complex) * fftSize);
p = fftwf_plan_dft_1d(fftSize, fft_in, fft_out, FFTW_FORWARD, FFTW_ESTIMATE);
printf("Starting DSP Thread!\n");