aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/actions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/actions.cpp')
-rw-r--r--host/lib/rfnoc/actions.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/host/lib/rfnoc/actions.cpp b/host/lib/rfnoc/actions.cpp
index 3276c456c..86bc576f3 100644
--- a/host/lib/rfnoc/actions.cpp
+++ b/host/lib/rfnoc/actions.cpp
@@ -11,9 +11,9 @@
using namespace uhd::rfnoc;
namespace {
- // A static counter, which we use to uniquely label actions
- std::atomic<size_t> action_counter{0};
-}
+// A static counter, which we use to uniquely label actions
+std::atomic<size_t> action_counter{0};
+} // namespace
action_info::action_info(const std::string& key, const uhd::device_addr_t& args)
: id(action_counter++), key(key), args(args)
@@ -72,7 +72,8 @@ rx_event_action_info::sptr rx_event_action_info::make(
/*** TX Metadata Action Info *************************************************/
tx_event_action_info::tx_event_action_info(
- uhd::async_metadata_t::event_code_t event_code_, const boost::optional<uint64_t>& tsf_)
+ uhd::async_metadata_t::event_code_t event_code_,
+ const boost::optional<uint64_t>& tsf_)
: action_info(ACTION_KEY_TX_EVENT), event_code(event_code_), has_tsf(tsf_)
{
if (has_tsf) {