diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-01-05 14:30:31 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-01-05 14:30:31 -0800 |
commit | 6f8acc07c6c4abc2ccdd4158e2564edde1ffacb6 (patch) | |
tree | 54f755d793f26230bd05c286644629759aa76588 | |
parent | 476f888392f42a65ef0b91b63bea61163607adcd (diff) | |
download | uhd-6f8acc07c6c4abc2ccdd4158e2564edde1ffacb6.tar.gz uhd-6f8acc07c6c4abc2ccdd4158e2564edde1ffacb6.tar.bz2 uhd-6f8acc07c6c4abc2ccdd4158e2564edde1ffacb6.zip |
rfnoc: Fix named readback of user_reg_read32()
Thanks to github user mdmikh for pointing out problem and fix.
-rw-r--r-- | host/lib/rfnoc/block_ctrl_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/block_ctrl_base.cpp b/host/lib/rfnoc/block_ctrl_base.cpp index 1dfe66292..9996d3b9b 100644 --- a/host/lib/rfnoc/block_ctrl_base.cpp +++ b/host/lib/rfnoc/block_ctrl_base.cpp @@ -319,7 +319,7 @@ uint32_t block_ctrl_base::user_reg_read32(const std::string ®, const size_t p )); } return user_reg_read32(uint32_t( - _tree->access<size_t>(_root_path / "registers" / "sr" / reg).get() + _tree->access<size_t>(_root_path / "registers" / "rb" / reg).get() ), port); } |