aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/fft_block_control.cpp
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/lib/rfnoc/fft_block_control.cpp
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/lib/rfnoc/fft_block_control.cpp')
-rw-r--r--host/lib/rfnoc/fft_block_control.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/host/lib/rfnoc/fft_block_control.cpp b/host/lib/rfnoc/fft_block_control.cpp
index 266eb3e7f..c002d49bb 100644
--- a/host/lib/rfnoc/fft_block_control.cpp
+++ b/host/lib/rfnoc/fft_block_control.cpp
@@ -8,7 +8,6 @@
#include <uhd/rfnoc/defaults.hpp>
#include <uhd/rfnoc/fft_block_control.hpp>
#include <uhd/rfnoc/registry.hpp>
-
#include <string>
using namespace uhd::rfnoc;
@@ -57,7 +56,6 @@ public:
private:
-
/**************************************************************************
* Initialization
*************************************************************************/
@@ -80,18 +78,17 @@ private:
this->regs().poke32(SR_MAGNITUDE_OUT, uint32_t(this->_shift.get()));
});
- //register edge properties
+ // register edge properties
register_property(&_type_in);
register_property(&_type_out);
- //add resolvers for type (keeps it constant)
+ // add resolvers for type (keeps it constant)
add_property_resolver({&_type_in}, {&_type_in}, [& type_in = _type_in]() {
type_in.set(IO_TYPE_SC16);
});
add_property_resolver({&_type_out}, {&_type_out}, [& type_out = _type_out]() {
type_out.set(IO_TYPE_SC16);
});
-
}
property_t<int> _size{PROP_KEY_FFT_LEN, DEFAULT_SIZE, {res_source_info::USER}};