aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp
diff options
context:
space:
mode:
authorLane Kolbly <lane.kolbly@ni.com>2021-12-08 14:12:28 -0600
committerAaron Rossetto <aaron.rossetto@ni.com>2022-01-20 08:52:42 -0600
commit4e391500b54a22dbaae8692750ec25ae8a97ee6d (patch)
tree12907aaefb68f0d4825a8c9cb9ee2be9825d2542 /host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp
parent72e9ba55d6b144d456a644cb47f40522022d4fb6 (diff)
downloaduhd-4e391500b54a22dbaae8692750ec25ae8a97ee6d.tar.gz
uhd-4e391500b54a22dbaae8692750ec25ae8a97ee6d.tar.bz2
uhd-4e391500b54a22dbaae8692750ec25ae8a97ee6d.zip
host: Implement nameless_gain_mixin
Diffstat (limited to 'host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp')
-rw-r--r--host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp b/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp
index f0558f8a4..6871080ff 100644
--- a/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp
+++ b/host/lib/usrp/dboard/zbx/zbx_dboard_init.cpp
@@ -245,8 +245,8 @@ uhd::usrp::pwr_cal_mgr::sptr zbx_dboard_impl::_init_power_cal(
: get_rx_gain(ZBX_GAIN_STAGE_ALL, chan_idx);
},
[this, trx, chan_idx](const double gain) {
- trx == TX_DIRECTION ? set_tx_gain(gain, chan_idx)
- : set_rx_gain(gain, chan_idx);
+ trx == TX_DIRECTION ? this->set_tx_gain(gain, chan_idx)
+ : this->set_rx_gain(gain, chan_idx);
}},
10 /* High priority */);
/* If we had a digital (baseband) gain, we would register it here,*/