aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/rfnoc-example
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-03-02 15:25:13 -0800
committeratrnati <54334261+atrnati@users.noreply.github.com>2020-03-03 08:51:32 -0600
commit876d4150aa3da531ddd687b48afada6e43f79146 (patch)
treefd72a71419f4cd800d4e500cfcaded4dfc8dc367 /host/examples/rfnoc-example
parent1393553d623bdf4ba40d5435c9719b6ce990d9ac (diff)
downloaduhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.gz
uhd-876d4150aa3da531ddd687b48afada6e43f79146.tar.bz2
uhd-876d4150aa3da531ddd687b48afada6e43f79146.zip
uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
Diffstat (limited to 'host/examples/rfnoc-example')
-rw-r--r--host/examples/rfnoc-example/lib/gain_block_control.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/host/examples/rfnoc-example/lib/gain_block_control.cpp b/host/examples/rfnoc-example/lib/gain_block_control.cpp
index d53bafc8b..8cc9cc327 100644
--- a/host/examples/rfnoc-example/lib/gain_block_control.cpp
+++ b/host/examples/rfnoc-example/lib/gain_block_control.cpp
@@ -19,9 +19,7 @@ const uint32_t gain_block_control::REG_GAIN_VALUE = 0x00;
class gain_block_control_impl : public gain_block_control
{
public:
- RFNOC_BLOCK_CONSTRUCTOR(gain_block_control)
- {
- }
+ RFNOC_BLOCK_CONSTRUCTOR(gain_block_control) {}
void set_gain_value(const uint32_t gain)
{
@@ -34,7 +32,6 @@ public:
}
private:
-
};
UHD_RFNOC_BLOCK_REGISTER_DIRECT(