mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-29 04:06:09 +02:00
Switched to new cleaner argument system
This commit is contained in:
CMakeLists.txt
android/app/src/main/java
core
backends
android
src
decoder_modules
falcon9_decoder
src
kg_sstv_decoder
m17_decoder
src
meteor_demodulator
src
radio
src
weather_sat_decoder
src
misc_modules
sink_modules
android_audio_sink
src
audio_sink
src
network_sink
src
new_portaudio_sink
src
source_modules
airspy_source
src
airspyhf_source
src
bladerf_source
src
file_source
src
hackrf_source
src
limesdr_source
src
plutosdr_source
src
rfspace_source
src
rtl_sdr_source
src
rtl_tcp_source
src
sddc_source
src
sdrplay_source
src
sdrpp_server_source
src
soapy_source
src
spyserver_source
src
@ -6,7 +6,6 @@
|
||||
#include <core.h>
|
||||
#include <gui/style.h>
|
||||
#include <config.h>
|
||||
#include <options.h>
|
||||
#include <gui/widgets/stepped_slider.h>
|
||||
#include <libsddc.h>
|
||||
|
||||
@ -29,7 +28,7 @@ public:
|
||||
AirspyHFSourceModule(std::string name) {
|
||||
this->name = name;
|
||||
|
||||
if (options::opts.serverMode) { return; }
|
||||
if (core::args["server"].b()) { return; }
|
||||
|
||||
sampleRate = 768000.0;
|
||||
|
||||
@ -229,7 +228,7 @@ MOD_EXPORT void _INIT_() {
|
||||
json def = json({});
|
||||
def["devices"] = json({});
|
||||
def["device"] = "";
|
||||
config.setPath(options::opts.root + "/sddc_config.json");
|
||||
config.setPath(core::args["root"].s() + "/sddc_config.json");
|
||||
config.load(def);
|
||||
config.enableAutoSave();
|
||||
}
|
||||
|
Reference in New Issue
Block a user