| 388 | }; |
| 389 | |
| 390 | MOD_EXPORT void _INIT_() { |
| 391 | json def = json({}); |
| 392 | def["devices"] = json({}); |
| 393 | def["device"] = ""; |
| 394 | config.setPath(options::opts.root + "/hackrf_config.json"); |
| 395 | config.load(def); |
| 396 | config.enableAutoSave(); |
| 397 | } |
| 398 | |
| 399 | MOD_EXPORT ModuleManager::Instance* _CREATE_INSTANCE_(std::string name) { |
| 400 | return new HackRFSourceModule(name); |
nothing calls this directly
no test coverage detected