mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-06 10:47:34 +01:00
Fixed gain memory error
This commit is contained in:
parent
c4f49203a1
commit
19e07eb767
@ -7,8 +7,8 @@ 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 -g")
|
||||
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -fsanitize=address -g")
|
||||
# set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -fpremissive -fsanitize=address -g")
|
||||
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -fpremissive")
|
||||
include_directories(sdrpp "/usr/include/volk")
|
||||
link_libraries(pthread)
|
||||
link_libraries(GL)
|
||||
|
@ -159,7 +159,7 @@ void windowInit() {
|
||||
|
||||
vfoman::init(&wtf, &sigPath);
|
||||
|
||||
uiGains = new float[1];
|
||||
uiGains = new float[soapy.gainList.size()];
|
||||
|
||||
spdlog::info("Loading modules");
|
||||
mod::initAPI(&wtf);
|
||||
|
Loading…
Reference in New Issue
Block a user