mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-05 16:38:06 +02:00
Switched to new cleaner argument system
This commit is contained in:
@ -5,7 +5,6 @@
|
||||
#include <core.h>
|
||||
#include <gui/style.h>
|
||||
#include <config.h>
|
||||
#include <options.h>
|
||||
#include <gui/smgui.h>
|
||||
#include <lime/LimeSuite.h>
|
||||
|
||||
@ -522,7 +521,7 @@ MOD_EXPORT void _INIT_() {
|
||||
json def = json({});
|
||||
def["devices"] = json({});
|
||||
def["device"] = "";
|
||||
config.setPath(options::opts.root + "/limesdr_config.json");
|
||||
config.setPath(core::args["root"].s() + "/limesdr_config.json");
|
||||
config.load(def);
|
||||
config.enableAutoSave();
|
||||
}
|
||||
|
Reference in New Issue
Block a user