Switched to new cleaner argument system

This commit is contained in:
AlexandreRouma
2022-02-24 20:49:53 +01:00
parent 5c138aa4a5
commit 2779516378
50 changed files with 777 additions and 205 deletions
CMakeLists.txt
android/app/src/main/java
core
decoder_modules
falcon9_decoder
kg_sstv_decoder
m17_decoder
meteor_demodulator
radio
weather_sat_decoder
misc_modules
frequency_manager
recorder
rigctl_server
sink_modules
android_audio_sink
audio_sink
network_sink
new_portaudio_sink
source_modules
airspy_source
airspyhf_source
bladerf_source
file_source
hackrf_source
limesdr_source
plutosdr_source
rfspace_source
rtl_sdr_source
rtl_tcp_source
sddc_source
sdrplay_source
sdrpp_server_source
soapy_source
spyserver_source

@ -10,7 +10,6 @@
#include <SoapySDR/Logger.hpp>
#include <core.h>
#include <gui/style.h>
#include <options.h>
#include <gui/smgui.h>
#define CONCAT(a, b) ((std::string(a) + b).c_str())
@ -525,7 +524,7 @@ private:
};
MOD_EXPORT void _INIT_() {
config.setPath(options::opts.root + "/soapy_source_config.json");
config.setPath(core::args["root"].s() + "/soapy_source_config.json");
json defConf;
defConf["device"] = "";
defConf["devices"] = json({});