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

Function _INIT_

source_modules/bladerf_source/src/main.cpp:599–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597};
598
599MOD_EXPORT void _INIT_() {
600 json def = json({});
601 def["devices"] = json({});
602 def["device"] = "";
603 config.setPath(options::opts.root + "/bladerf_config.json");
604 config.load(def);
605 config.enableAutoSave();
606}
607
608MOD_EXPORT ModuleManager::Instance* _CREATE_INSTANCE_(std::string name) {
609 return new BladeRFSourceModule(name);

Callers

nothing calls this directly

Calls 3

enableAutoSaveMethod · 0.80
setPathMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected