From fbb3af323db4d54681ea49f51e51e0920f731805 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 20 Apr 2018 14:39:25 -0700 Subject: fixup! rfnoc: ctrl_iface cleanup --- host/tests/device3_test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/host/tests/device3_test.cpp b/host/tests/device3_test.cpp index 62b90920e..d3f7aa2ee 100644 --- a/host/tests/device3_test.cpp +++ b/host/tests/device3_test.cpp @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include #include #include @@ -27,7 +29,7 @@ class pseudo_ctrl_iface_impl : public ctrl_iface { public: pseudo_ctrl_iface_impl() {}; - ~pseudo_ctrl_iface_impl() {}; + virtual ~pseudo_ctrl_iface_impl() {} uint64_t send_cmd_pkt( const size_t addr, @@ -46,6 +48,9 @@ class pseudo_ctrl_iface_impl : public ctrl_iface return 0x000000000000000B; case SR_READBACK_REG_USER: return 0x0123456789ABCDEF; + case SR_READBACK_COMPAT: + return uhd::rfnoc::NOC_SHELL_COMPAT_MAJOR << 32 | + uhd::rfnoc::NOC_SHELL_COMPAT_MINOR; default: return 0; } -- cgit v1.2.3