From 876d4150aa3da531ddd687b48afada6e43f79146 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 2 Mar 2020 15:25:13 -0800 Subject: 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. --- host/lib/rfnoc/fft_block_control.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'host/lib/rfnoc/fft_block_control.cpp') 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 #include #include - #include 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 _size{PROP_KEY_FFT_LEN, DEFAULT_SIZE, {res_source_info::USER}}; -- cgit v1.2.3