From 6bd47c969222ee9e5e89cd00ebea9141c215e55c Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 16 Jan 2019 15:16:05 -0800 Subject: lib: rfnoc: apply clang-format This is a continuation of 967be2a4. $ clang-format -i -style=file host/lib/rfnoc/*.cpp --- host/lib/rfnoc/siggen_block_ctrl_impl.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'host/lib/rfnoc/siggen_block_ctrl_impl.cpp') diff --git a/host/lib/rfnoc/siggen_block_ctrl_impl.cpp b/host/lib/rfnoc/siggen_block_ctrl_impl.cpp index b876cf715..dc4035962 100644 --- a/host/lib/rfnoc/siggen_block_ctrl_impl.cpp +++ b/host/lib/rfnoc/siggen_block_ctrl_impl.cpp @@ -4,9 +4,9 @@ // SPDX-License-Identifier: GPL-3.0-or-later // -#include -#include #include +#include +#include using namespace uhd::rfnoc; @@ -18,7 +18,7 @@ public: // nop } - void issue_stream_cmd(const uhd::stream_cmd_t &stream_cmd, const size_t) + void issue_stream_cmd(const uhd::stream_cmd_t& stream_cmd, const size_t) { UHD_LOGGER_TRACE(unique_id()) << "issue_stream_cmd()" << std::endl; if (not stream_cmd.stream_now) { @@ -36,14 +36,13 @@ public: case uhd::stream_cmd_t::STREAM_MODE_NUM_SAMPS_AND_DONE: case uhd::stream_cmd_t::STREAM_MODE_NUM_SAMPS_AND_MORE: - throw uhd::not_implemented_error( - "siggen_block does not support streaming modes other than CONTINUOUS"); + throw uhd::not_implemented_error("siggen_block does not support " + "streaming modes other than CONTINUOUS"); default: UHD_THROW_INVALID_CODE_PATH(); } } - }; UHD_RFNOC_BLOCK_REGISTER(siggen_block_ctrl, "SigGen"); -- cgit v1.2.3