aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-05-30 16:17:49 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:21 -0800
commitfff4fd59b7b7995904ecb2b010f05f78e9d0a0de (patch)
tree6bac20c68dbe9759471d17ef70cf576e71415aff /host/tests
parent31449a44699b6484442c91394e8ff14e22cea246 (diff)
downloaduhd-fff4fd59b7b7995904ecb2b010f05f78e9d0a0de.tar.gz
uhd-fff4fd59b7b7995904ecb2b010f05f78e9d0a0de.tar.bz2
uhd-fff4fd59b7b7995904ecb2b010f05f78e9d0a0de.zip
rfnoc: noc_block_base: Handle the tick_rate property internally
All noc_block_base derivatives are now plugged into the tick rate system. Connected nodes can only have one tick rate among them. This implies there is also only ever one tick rate per block. set_tick_rate() is a protected API call which can be called by blocks such as radio blocks to actually set a tick rate. Other blocks would only ever read the tick rate, which is handled by the get_tick_rate() API call.
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/rfnoc_blocks_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/tests/rfnoc_blocks_test.cpp b/host/tests/rfnoc_blocks_test.cpp
index b9ffcb5f9..113fbf630 100644
--- a/host/tests/rfnoc_blocks_test.cpp
+++ b/host/tests/rfnoc_blocks_test.cpp
@@ -8,6 +8,7 @@
#include <uhd/rfnoc/ddc_block_control.hpp>
#include <uhdlib/rfnoc/clock_iface.hpp>
#include <uhdlib/rfnoc/node_accessor.hpp>
+#include <uhdlib/rfnoc/clock_iface.hpp>
#include <boost/test/unit_test.hpp>
#include <iostream>