From 107a49c0c236940da7d3bd0f57da4bc1e2a34cb4 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Jan 2021 09:33:36 +0100 Subject: 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 --- host/lib/usrp/b200/b200_cores.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'host/lib/usrp/b200/b200_cores.hpp') diff --git a/host/lib/usrp/b200/b200_cores.hpp b/host/lib/usrp/b200/b200_cores.hpp index 7054fd068..1042cf422 100644 --- a/host/lib/usrp/b200/b200_cores.hpp +++ b/host/lib/usrp/b200/b200_cores.hpp @@ -24,11 +24,11 @@ public: b200_local_spi_core(uhd::wb_iface::sptr iface, perif_t default_perif); - virtual uint32_t transact_spi(int which_slave, + uint32_t transact_spi(int which_slave, const uhd::spi_config_t& config, uint32_t data, size_t num_bits, - bool readback); + bool readback) override; void change_perif(perif_t perif); void restore_perif(); @@ -48,7 +48,7 @@ public: typedef std::shared_ptr sptr; b200_ref_pll_ctrl(b200_local_spi_core::sptr spi); - virtual void set_lock_to_ext_ref(bool external); + void set_lock_to_ext_ref(bool external) override; private: b200_local_spi_core::sptr _spi; -- cgit v1.2.3