aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/usrp2_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-04-26 15:20:18 -0700
committerJosh Blum <josh@joshknows.com>2010-04-26 15:20:18 -0700
commit6f1bdcb58608e3a7c2625841e3a8f1c6297bb544 (patch)
tree41434e1b13c97538214b7d7c03f660ad921ca965 /host/lib/usrp/usrp2/usrp2_impl.cpp
parentb1992806e130216fdab963c2154f489189b8c3b5 (diff)
downloaduhd-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/usrp2_impl.cpp')
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp
index d9b2248ff..4079357f9 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.cpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.cpp
@@ -202,10 +202,10 @@ void usrp2_impl::get(const wax::obj &key_, wax::obj &val){
val = size_t(_max_tx_samples_per_packet);
return;
- default: UHD_THROW_PROP_WRITE_ONLY();
+ default: UHD_THROW_PROP_GET_ERROR();
}
}
void usrp2_impl::set(const wax::obj &, const wax::obj &){
- UHD_THROW_PROP_READ_ONLY();
+ UHD_THROW_PROP_SET_ERROR();
}