aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/wb_iface_adapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/wb_iface_adapter.cpp')
-rw-r--r--host/lib/rfnoc/wb_iface_adapter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/rfnoc/wb_iface_adapter.cpp b/host/lib/rfnoc/wb_iface_adapter.cpp
index 00e2b466a..3b9202661 100644
--- a/host/lib/rfnoc/wb_iface_adapter.cpp
+++ b/host/lib/rfnoc/wb_iface_adapter.cpp
@@ -42,12 +42,12 @@ void wb_iface_adapter::poke32(const wb_addr_type addr, const uint32_t data)
uint32_t wb_iface_adapter::peek32(const wb_addr_type addr)
{
- return peek32_functor(addr);
+ return peek32_functor(addr / 8);
}
uint64_t wb_iface_adapter::peek64(const wb_addr_type addr)
{
- return peek64_functor(addr);
+ return peek64_functor(addr / 8);
}
uhd::time_spec_t wb_iface_adapter::get_time(void)