From ea19de0ba230b738a102d4ebb089614bd3ca2fa0 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 21 Mar 2012 18:13:36 -0700 Subject: usrp: fix typo for user setting reg --- host/lib/usrp/multi_usrp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/usrp/multi_usrp.cpp') 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 user_reg_t; - _tree->access(mb_root(mboard) / "user/reg").set(user_reg_t(addr, data)); + _tree->access(mb_root(mboard) / "user/regs").set(user_reg_t(addr, data)); return; } for (size_t m = 0; m < get_num_mboards(); m++){ -- cgit v1.2.3