diff options
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/codec_ctrl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.cpp b/host/lib/usrp/usrp2/codec_ctrl.cpp index 6fe91da9e..bf31daf18 100644 --- a/host/lib/usrp/usrp2/codec_ctrl.cpp +++ b/host/lib/usrp/usrp2/codec_ctrl.cpp @@ -96,7 +96,7 @@ public: } } - ~usrp2_codec_ctrl_impl(void) + ~usrp2_codec_ctrl_impl(void) override { UHD_SAFE_CALL( // power-down dac @@ -124,7 +124,7 @@ public: }) } - void set_tx_mod_mode(int mod_mode) + void set_tx_mod_mode(int mod_mode) override { // set the sign of the frequency shift _ad9777_regs.modulation_form = (mod_mode > 0) @@ -153,7 +153,7 @@ public: this->send_ad9777_reg(0x01); // set the register } - void set_rx_digital_gain(double gain) + void set_rx_digital_gain(double gain) override { // fine digital gain switch (_iface->get_rev()) { case usrp2_iface::USRP_N200: @@ -169,7 +169,7 @@ public: } } - void set_rx_digital_fine_gain(double gain) + void set_rx_digital_fine_gain(double gain) override { // gain correction switch (_iface->get_rev()) { case usrp2_iface::USRP_N200: @@ -185,7 +185,7 @@ public: } } - void set_rx_analog_gain(bool /*gain*/) + void set_rx_analog_gain(bool /*gain*/) override { // turns on/off analog 3.5dB preamp switch (_iface->get_rev()) { case usrp2_iface::USRP_N200: @@ -203,7 +203,7 @@ public: } } - size_t get_tx_interpolation() const + size_t get_tx_interpolation() const override { return 4; } |