diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-26 15:20:18 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-26 15:20:18 -0700 |
commit | 6f1bdcb58608e3a7c2625841e3a8f1c6297bb544 (patch) | |
tree | 41434e1b13c97538214b7d7c03f660ad921ca965 /host/lib/usrp/usrp2/dsp_impl.cpp | |
parent | b1992806e130216fdab963c2154f489189b8c3b5 (diff) | |
download | uhd-6f1bdcb58608e3a7c2625841e3a8f1c6297bb544.tar.gz uhd-6f1bdcb58608e3a7c2625841e3a8f1c6297bb544.tar.bz2 uhd-6f1bdcb58608e3a7c2625841e3a8f1c6297bb544.zip |
Renamed the prop set/get error macros so they make sense for not-implemented properties.
Diffstat (limited to 'host/lib/usrp/usrp2/dsp_impl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/dsp_impl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp2/dsp_impl.cpp b/host/lib/usrp/usrp2/dsp_impl.cpp index 84c50ac0d..84314a656 100644 --- a/host/lib/usrp/usrp2/dsp_impl.cpp +++ b/host/lib/usrp/usrp2/dsp_impl.cpp @@ -118,7 +118,7 @@ void usrp2_impl::ddc_get(const wax::obj &key, wax::obj &val){ val = get_master_clock_freq()/_ddc_decim; return; - default: UHD_THROW_PROP_WRITE_ONLY(); + default: UHD_THROW_PROP_GET_ERROR(); } } @@ -141,7 +141,7 @@ void usrp2_impl::ddc_set(const wax::obj &key, const wax::obj &val){ } return; - default: UHD_THROW_PROP_READ_ONLY(); + default: UHD_THROW_PROP_SET_ERROR(); } } @@ -202,7 +202,7 @@ void usrp2_impl::duc_get(const wax::obj &key, wax::obj &val){ val = get_master_clock_freq()/_duc_interp; return; - default: UHD_THROW_PROP_WRITE_ONLY(); + default: UHD_THROW_PROP_GET_ERROR(); } } @@ -225,6 +225,6 @@ void usrp2_impl::duc_set(const wax::obj &key, const wax::obj &val){ } return; - default: UHD_THROW_PROP_READ_ONLY(); + default: UHD_THROW_PROP_SET_ERROR(); } } |