diff options
author | Nick Foster <nick@ettus.com> | 2012-12-04 15:47:23 -0800 |
---|---|---|
committer | Nick Foster <nick@ettus.com> | 2012-12-04 15:47:23 -0800 |
commit | 7a062c3822d247b76ee85da122c442afce27205b (patch) | |
tree | 090250c3fff563492e631681e7b841b090acb79d /host/lib/usrp/dboard/db_xcvr2450.cpp | |
parent | ed1afe02d02b6bb8fe760807bfc96e15108f10de (diff) | |
download | uhd-7a062c3822d247b76ee85da122c442afce27205b.tar.gz uhd-7a062c3822d247b76ee85da122c442afce27205b.tar.bz2 uhd-7a062c3822d247b76ee85da122c442afce27205b.zip |
Fix syntax in XCVR driver.
Diffstat (limited to 'host/lib/usrp/dboard/db_xcvr2450.cpp')
-rw-r--r-- | host/lib/usrp/dboard/db_xcvr2450.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp index af5af6894..108a85161 100644 --- a/host/lib/usrp/dboard/db_xcvr2450.cpp +++ b/host/lib/usrp/dboard/db_xcvr2450.cpp @@ -411,14 +411,14 @@ double xcvr2450::set_lo_freq_core(double target_freq){ //new band select settings and ad9515 divider this->update_atr(); - const bool div_ext(this->get_tx_id == 0x0059); + const bool div_ext(this->get_tx_id() == 0x0059); if (div_ext) { - this->set_clock_rate(dboard_iface::UNIT_TX, ref_freq/_ad9515div); + this->get_iface()->set_clock_rate(dboard_iface::UNIT_TX, ref_freq/_ad9515div); } else { - this->set_clock_rate(dboard_iface::UNIT_TX, ref_freq); + this->get_iface()->set_clock_rate(dboard_iface::UNIT_TX, ref_freq); } //load new counters into registers |