From 3a7420fc4ffc246616e53259a3c8d718f9fa7c54 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 6 Aug 2015 13:51:27 -0700 Subject: e300: Made network mode not crash when attempting to user filter API --- host/lib/usrp/e300/e300_remote_codec_ctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/e300/e300_remote_codec_ctrl.cpp') diff --git a/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp b/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp index 9708634dd..1e0895393 100644 --- a/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp +++ b/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp @@ -227,7 +227,7 @@ public: //! List all available filters by name std::vector get_filter_names(const std::string &) { - UHD_THROW_INVALID_CODE_PATH(); + return std::vector(); } //! Return a list of all filters @@ -239,7 +239,7 @@ public: //! Write back a filter void set_filter(const std::string &, const std::string &, const filter_info_base::sptr) { - UHD_THROW_INVALID_CODE_PATH(); + UHD_MSG(warning) << "Attempting to set filter on E300 in network mode." << std::endl; } private: -- cgit v1.2.3