diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-15 18:49:06 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-15 18:49:06 -0700 |
commit | 5c0d3d30606b25c72c98785d49c13cc27ad49ec1 (patch) | |
tree | 3abc29f89c400fe03551c06b79ffc6973dbc78bb /host/lib/usrp/usrp1/codec_ctrl.hpp | |
parent | 2e978d8835b8f954b7c34c42138b64d3a5767f81 (diff) | |
download | uhd-5c0d3d30606b25c72c98785d49c13cc27ad49ec1.tar.gz uhd-5c0d3d30606b25c72c98785d49c13cc27ad49ec1.tar.bz2 uhd-5c0d3d30606b25c72c98785d49c13cc27ad49ec1.zip |
usrp1: created daughterboard duality
everything that should have two is now stored into a dictionary of slot to type
the set and get functions are now bound with a third argument for dboard slot
the dboard iface has yet to be completed with the correct registers for a vs b
Diffstat (limited to 'host/lib/usrp/usrp1/codec_ctrl.hpp')
-rw-r--r-- | host/lib/usrp/usrp1/codec_ctrl.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/codec_ctrl.hpp b/host/lib/usrp/usrp1/codec_ctrl.hpp index 0605e3228..6440f97d1 100644 --- a/host/lib/usrp/usrp1/codec_ctrl.hpp +++ b/host/lib/usrp/usrp1/codec_ctrl.hpp @@ -38,9 +38,10 @@ public: /*! * Make a new clock control object. * \param iface the usrp1 iface object + * \param spi_slave which spi device * \return the clock control object */ - static sptr make(usrp1_iface::sptr iface); + static sptr make(usrp1_iface::sptr iface, int spi_slave); //! aux adc identifier constants enum aux_adc_t{ |