mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-26 12:27:51 +02:00
Fixed support in the module manager
This commit is contained in:
@ -50,15 +50,17 @@ public:
|
||||
std::string serial = config.conf["device"];
|
||||
config.release();
|
||||
selectBySerial(serial);
|
||||
core::setInputSampleRate(sampleRate);
|
||||
|
||||
sigpath::sourceManager.registerSource("BladeRF", &handler);
|
||||
}
|
||||
|
||||
~BladeRFSourceModule() {
|
||||
|
||||
stop(this);
|
||||
sigpath::sourceManager.unregisterSource("BladeRF");
|
||||
}
|
||||
|
||||
void postInit() {}
|
||||
|
||||
void enable() {
|
||||
enabled = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user