| 515 | }; |
| 516 | |
| 517 | MOD_EXPORT void _INIT_() { |
| 518 | config.setPath(options::opts.root + "/soapy_source_config.json"); |
| 519 | json defConf; |
| 520 | defConf["device"] = ""; |
| 521 | defConf["devices"] = json({}); |
| 522 | config.load(defConf); |
| 523 | config.enableAutoSave(); |
| 524 | } |
| 525 | |
| 526 | MOD_EXPORT ModuleManager::Instance* _CREATE_INSTANCE_(std::string name) { |
| 527 | return new SoapyModule(name); |
nothing calls this directly
no test coverage detected