aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2/clock_ctrl.cpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2011-03-03 10:50:45 -0800
committerNick Foster <nick@nerdnetworks.org>2011-03-03 10:50:45 -0800
commit1b63cd2560886d851f3e2ba98bfddf772c44df34 (patch)
tree126e1bedf44c3e9159c8ab7b2dd1ad52452ea6a0 /host/lib/usrp/usrp2/clock_ctrl.cpp
parent77319389b09c663170284ed64961ab27cf77488e (diff)
downloaduhd-1b63cd2560886d851f3e2ba98bfddf772c44df34.tar.gz
uhd-1b63cd2560886d851f3e2ba98bfddf772c44df34.tar.bz2
uhd-1b63cd2560886d851f3e2ba98bfddf772c44df34.zip
Generalized mboard_iface and added a SPI convenience class a la I2C
Diffstat (limited to 'host/lib/usrp/usrp2/clock_ctrl.cpp')
-rw-r--r--host/lib/usrp/usrp2/clock_ctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/clock_ctrl.cpp b/host/lib/usrp/usrp2/clock_ctrl.cpp
index aaafbae53..abda53bf2 100644
--- a/host/lib/usrp/usrp2/clock_ctrl.cpp
+++ b/host/lib/usrp/usrp2/clock_ctrl.cpp
@@ -305,7 +305,7 @@ private:
*/
void write_reg(boost::uint8_t addr){
boost::uint32_t data = _ad9510_regs.get_write_reg(addr);
- _iface->transact_spi(SPI_SS_AD9510, spi_config_t::EDGE_RISE, data, 24, false /*no rb*/);
+ _iface->write_spi(SPI_SS_AD9510, spi_config_t::EDGE_RISE, data, 24);
}
/*!