diff options
Diffstat (limited to 'lib/fcd/fcd_source_c.h')
-rw-r--r-- | lib/fcd/fcd_source_c.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/fcd/fcd_source_c.h b/lib/fcd/fcd_source_c.h index 2b02eb1..70239f8 100644 --- a/lib/fcd/fcd_source_c.h +++ b/lib/fcd/fcd_source_c.h @@ -22,8 +22,13 @@ #include <gnuradio/hier_block2.h> -#include <fcdproplus/fcd.h> +#ifdef HAVE_FCD +#include <gnuradio/fcd/source_c.h> +#endif + +#ifdef HAVE_FCDPP #include <fcdproplus/fcdproplus.h> +#endif #include "source_iface.h" @@ -81,8 +86,12 @@ public: private: dongle_type _type; - gr::fcdproplus::fcd::sptr _src_v1; +#ifdef HAVE_FCD + gr::fcd::source_c::sptr _src_v1; +#endif +#ifdef HAVE_FCDPP gr::fcdproplus::fcdproplus::sptr _src_v2; +#endif double _lna_gain, _mix_gain, _bb_gain, _freq; int _correct; }; |