mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 12:27:51 +02:00
Switched to new cleaner argument system
This commit is contained in:
@ -6,7 +6,6 @@
|
||||
#include <gui/style.h>
|
||||
#include <config.h>
|
||||
#include <gui/widgets/stepped_slider.h>
|
||||
#include <options.h>
|
||||
#include <gui/smgui.h>
|
||||
|
||||
#ifndef __ANDROID__
|
||||
@ -416,7 +415,7 @@ MOD_EXPORT void _INIT_() {
|
||||
json def = json({});
|
||||
def["devices"] = json({});
|
||||
def["device"] = "";
|
||||
config.setPath(options::opts.root + "/hackrf_config.json");
|
||||
config.setPath(core::args["root"].s() + "/hackrf_config.json");
|
||||
config.load(def);
|
||||
config.enableAutoSave();
|
||||
}
|
||||
|
Reference in New Issue
Block a user