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

Function _INIT_

source_modules/sddc_source/src/main.cpp:227–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225};
226
227MOD_EXPORT void _INIT_() {
228 json def = json({});
229 def["devices"] = json({});
230 def["device"] = "";
231 config.setPath(options::opts.root + "/sddc_config.json");
232 config.load(def);
233 config.enableAutoSave();
234}
235
236MOD_EXPORT ModuleManager::Instance* _CREATE_INSTANCE_(std::string name) {
237 return new AirspyHFSourceModule(name);

Callers

nothing calls this directly

Calls 3

enableAutoSaveMethod · 0.80
setPathMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected