summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-03-21 18:13:36 -0700
committerJosh Blum <josh@joshknows.com>2012-03-21 18:13:36 -0700
commitea19de0ba230b738a102d4ebb089614bd3ca2fa0 (patch)
tree55af2b3c62f10737ade70b7a49d0e59e291070d7
parentd97b9deec9141968ef9ed04ddf44bffa860a51c2 (diff)
downloaduhd-ea19de0ba230b738a102d4ebb089614bd3ca2fa0.tar.gz
uhd-ea19de0ba230b738a102d4ebb089614bd3ca2fa0.tar.bz2
uhd-ea19de0ba230b738a102d4ebb089614bd3ca2fa0.zip
usrp: fix typo for user setting reg
-rw-r--r--host/lib/usrp/multi_usrp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/multi_usrp.cpp b/host/lib/usrp/multi_usrp.cpp
index c0f16d32c..42c654e6b 100644
--- a/host/lib/usrp/multi_usrp.cpp
+++ b/host/lib/usrp/multi_usrp.cpp
@@ -448,7 +448,7 @@ public:
void set_user_register(const boost::uint8_t addr, const boost::uint32_t data, size_t mboard){
if (mboard != ALL_MBOARDS){
typedef std::pair<boost::uint8_t, boost::uint32_t> user_reg_t;
- _tree->access<user_reg_t>(mb_root(mboard) / "user/reg").set(user_reg_t(addr, data));
+ _tree->access<user_reg_t>(mb_root(mboard) / "user/regs").set(user_reg_t(addr, data));
return;
}
for (size_t m = 0; m < get_num_mboards(); m++){