aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e300/e300_remote_codec_ctrl.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-08-06 13:51:27 -0700
committerMartin Braun <martin.braun@ettus.com>2015-08-06 18:30:11 -0700
commit3a7420fc4ffc246616e53259a3c8d718f9fa7c54 (patch)
tree316bdade8f017e8a10f7d6cec6d0d7e45f00080f /host/lib/usrp/e300/e300_remote_codec_ctrl.cpp
parentc2cf9c30f6b5091ba6ab4c5cad26e2ef649595af (diff)
downloaduhd-3a7420fc4ffc246616e53259a3c8d718f9fa7c54.tar.gz
uhd-3a7420fc4ffc246616e53259a3c8d718f9fa7c54.tar.bz2
uhd-3a7420fc4ffc246616e53259a3c8d718f9fa7c54.zip
e300: Made network mode not crash when attempting to user filter API
Diffstat (limited to 'host/lib/usrp/e300/e300_remote_codec_ctrl.cpp')
-rw-r--r--host/lib/usrp/e300/e300_remote_codec_ctrl.cpp4
1 files changed, 2 insertions, 2 deletions
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<std::string> get_filter_names(const std::string &)
{
- UHD_THROW_INVALID_CODE_PATH();
+ return std::vector<std::string>();
}
//! 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: