From 668a04befdc4ec43b2a6e86992c672ef5f8408e0 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 9 Mar 2021 10:38:42 +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 Note: This is the same procedure as 107a49c0, but applied to all the new code since then. --- host/lib/usrp/b100/codec_ctrl.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'host/lib/usrp/b100/codec_ctrl.cpp') diff --git a/host/lib/usrp/b100/codec_ctrl.cpp b/host/lib/usrp/b100/codec_ctrl.cpp index f6e2d8b93..fad25cf8c 100644 --- a/host/lib/usrp/b100/codec_ctrl.cpp +++ b/host/lib/usrp/b100/codec_ctrl.cpp @@ -36,17 +36,17 @@ class b100_codec_ctrl_impl : public b100_codec_ctrl public: // structors b100_codec_ctrl_impl(spi_iface::sptr iface); - ~b100_codec_ctrl_impl(void); + ~b100_codec_ctrl_impl(void) override; // aux adc and dac control - double read_aux_adc(aux_adc_t which); - void write_aux_dac(aux_dac_t which, double volts); + double read_aux_adc(aux_adc_t which) override; + void write_aux_dac(aux_dac_t which, double volts) override; // pga gain control - void set_tx_pga_gain(double); - double get_tx_pga_gain(void); - void set_rx_pga_gain(double, char); - double get_rx_pga_gain(char); + void set_tx_pga_gain(double) override; + double get_tx_pga_gain(void) override; + void set_rx_pga_gain(double, char) override; + double get_rx_pga_gain(char) override; private: spi_iface::sptr _iface; -- cgit v1.2.3