diff options
author | Nick Foster <nick@nerdnetworks.org> | 2010-07-28 15:19:29 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2010-07-28 15:19:29 -0700 |
commit | e5722d61aa2b523991f5388d9bda0f56f43f79bd (patch) | |
tree | 816dbb2a6906d883f833c12a3e8a747aba0338ee /host/lib/usrp/usrp2/codec_ctrl.cpp | |
parent | f0c6522efdf1899b654f48aa339398a1fc9fa73f (diff) | |
download | uhd-e5722d61aa2b523991f5388d9bda0f56f43f79bd.tar.gz uhd-e5722d61aa2b523991f5388d9bda0f56f43f79bd.tar.bz2 uhd-e5722d61aa2b523991f5388d9bda0f56f43f79bd.zip |
ADC SPI works. ADC gain interface "works".
Diffstat (limited to 'host/lib/usrp/usrp2/codec_ctrl.cpp')
-rw-r--r-- | host/lib/usrp/usrp2/codec_ctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/codec_ctrl.cpp b/host/lib/usrp/usrp2/codec_ctrl.cpp index b8f1df799..2e645dcec 100644 --- a/host/lib/usrp/usrp2/codec_ctrl.cpp +++ b/host/lib/usrp/usrp2/codec_ctrl.cpp @@ -120,7 +120,7 @@ private: void send_ads62p44_reg(boost::uint8_t addr) { boost::uint16_t reg = _ads62p44_regs.get_write_reg(addr); _iface->transact_spi( - SPI_SS_ADS62P44, spi_config_t::EDGE_RISE, + SPI_SS_ADS62P44, spi_config_t::EDGE_FALL, reg, 16, false /*no rb*/ ); } |