diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-01-16 15:16:05 -0800 |
---|---|---|
committer | Brent Stapleton <brent.stapleton@ettus.com> | 2019-01-17 18:03:42 -0800 |
commit | 6bd47c969222ee9e5e89cd00ebea9141c215e55c (patch) | |
tree | 3cbddae51f99bef056446ae936fd409aee0add66 /host/lib/rfnoc/siggen_block_ctrl_impl.cpp | |
parent | 18cfd25129d06c456eade78d4e74dc4dceae6501 (diff) | |
download | uhd-6bd47c969222ee9e5e89cd00ebea9141c215e55c.tar.gz uhd-6bd47c969222ee9e5e89cd00ebea9141c215e55c.tar.bz2 uhd-6bd47c969222ee9e5e89cd00ebea9141c215e55c.zip |
lib: rfnoc: apply clang-format
This is a continuation of 967be2a4.
$ clang-format -i -style=file host/lib/rfnoc/*.cpp
Diffstat (limited to 'host/lib/rfnoc/siggen_block_ctrl_impl.cpp')
-rw-r--r-- | host/lib/rfnoc/siggen_block_ctrl_impl.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
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 <boost/format.hpp> -#include <uhd/utils/log.hpp> #include <uhd/rfnoc/siggen_block_ctrl.hpp> +#include <uhd/utils/log.hpp> +#include <boost/format.hpp> 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"); |