MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / _INIT_

Function _INIT_

source_modules/limesdr_source/src/main.cpp:516–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514};
515
516MOD_EXPORT void _INIT_() {
517 json def = json({});
518 def["devices"] = json({});
519 def["device"] = "";
520 config.setPath(options::opts.root + "/limesdr_config.json");
521 config.load(def);
522 config.enableAutoSave();
523}
524
525MOD_EXPORT ModuleManager::Instance* _CREATE_INSTANCE_(std::string name) {
526 return new LimeSDRSourceModule(name);

Callers

nothing calls this directly

Calls 3

enableAutoSaveMethod · 0.80
setPathMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected