| 225 | }; |
| 226 | |
| 227 | MOD_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 | |
| 236 | MOD_EXPORT ModuleManager::Instance* _CREATE_INSTANCE_(std::string name) { |
| 237 | return new AirspyHFSourceModule(name); |
nothing calls this directly
no test coverage detected