aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/moving_average_block_control.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-01-08 09:33:36 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-04 08:07:26 -0600
commit107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 (patch)
treefdeaad56030a02948377c45838dab97beb7a5c84 /host/lib/rfnoc/moving_average_block_control.cpp
parent7d5e48032baa62cbe7467833b9e057900602f4b9 (diff)
downloaduhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.tar.gz
uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.tar.bz2
uhd-107a49c0c236940da7d3bd0f57da4bc1e2a34cb4.zip
host: Update code base using clang-tidy
The checks from the new clang-tidy file are applied to the source tree using: $ find . -name "*.cpp" | sort -u | xargs \ --max-procs 8 --max-args 1 clang-tidy --format-style=file \ --fix -p /path/to/compile_commands.json
Diffstat (limited to 'host/lib/rfnoc/moving_average_block_control.cpp')
-rw-r--r--host/lib/rfnoc/moving_average_block_control.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/rfnoc/moving_average_block_control.cpp b/host/lib/rfnoc/moving_average_block_control.cpp
index f812d535d..9ed3ef470 100644
--- a/host/lib/rfnoc/moving_average_block_control.cpp
+++ b/host/lib/rfnoc/moving_average_block_control.cpp
@@ -30,22 +30,22 @@ public:
this->regs().poke32(REG_DIVISOR_ADDR, uint32_t(_divisor));
}
- void set_sum_len(const uint8_t sum_len)
+ void set_sum_len(const uint8_t sum_len) override
{
set_property(PROP_KEY_SUM_LEN, static_cast<int>(sum_len), res_source_info::USER);
}
- uint8_t get_sum_len() const
+ uint8_t get_sum_len() const override
{
return _sum_len;
}
- void set_divisor(const uint32_t divisor)
+ void set_divisor(const uint32_t divisor) override
{
set_property(PROP_KEY_DIVISOR, static_cast<int>(divisor), res_source_info::USER);
}
- uint32_t get_divisor() const
+ uint32_t get_divisor() const override
{
return _divisor;
}