diff options
Diffstat (limited to 'host/lib/include/uhdlib/rfnoc')
-rw-r--r-- | host/lib/include/uhdlib/rfnoc/radio_ctrl_impl.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/host/lib/include/uhdlib/rfnoc/radio_ctrl_impl.hpp b/host/lib/include/uhdlib/rfnoc/radio_ctrl_impl.hpp index a5876584e..62a268335 100644 --- a/host/lib/include/uhdlib/rfnoc/radio_ctrl_impl.hpp +++ b/host/lib/include/uhdlib/rfnoc/radio_ctrl_impl.hpp @@ -134,10 +134,8 @@ protected: // TODO see what's protected and what's private * Registers **********************************************************************/ struct regs { - static inline uint32_t sr_addr(const uint32_t offset) - { - return offset * 4; - } + static inline uint32_t sr_addr(const uint32_t offset) { return offset * 4; } + static inline uint32_t rb_addr(const uint32_t offset) { return offset * 8; } static const uint32_t BASE = 128; |