aboutsummaryrefslogtreecommitdiffstats
path: root/lib/device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/device.cc')
-rw-r--r--lib/device.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/device.cc b/lib/device.cc
index d75d6ad..025a22b 100644
--- a/lib/device.cc
+++ b/lib/device.cc
@@ -86,6 +86,10 @@
#include <redpitaya_source_c.h>
#endif
+#ifdef ENABLE_FREESRP
+#include <freesrp_source_c.h>
+#endif
+
#include "arg_helpers.h"
using namespace osmosdr;
@@ -182,6 +186,10 @@ devices_t device::find(const device_t &hint)
BOOST_FOREACH( std::string dev, airspy_source_c::get_devices() )
devices.push_back( device_t(dev) );
#endif
+#ifdef ENABLE_FREESRP
+ BOOST_FOREACH( std::string dev, freesrp_source_c::get_devices() )
+ devices.push_back( device_t(dev) );
+#endif
#ifdef ENABLE_SOAPY
BOOST_FOREACH( std::string dev, soapy_source_c::get_devices() )
devices.push_back( device_t(dev) );