diff options
| author | Josh Blum <josh@joshknows.com> | 2011-06-29 21:16:28 -0700 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2011-06-29 21:16:28 -0700 | 
| commit | ba088e27b054ddec8e5ec05f53da113f92c2be07 (patch) | |
| tree | 6137e759e0d6bebc08d3eaa2ea9334738615986c /host/lib/usrp/b100/codec_ctrl.cpp | |
| parent | 11539ef6f690b4ebd69485be9a61f5422d8cdc99 (diff) | |
| download | uhd-ba088e27b054ddec8e5ec05f53da113f92c2be07.tar.gz uhd-ba088e27b054ddec8e5ec05f53da113f92c2be07.tar.bz2 uhd-ba088e27b054ddec8e5ec05f53da113f92c2be07.zip | |
b100: got b100 into the properties tree like usrp2
Diffstat (limited to 'host/lib/usrp/b100/codec_ctrl.cpp')
| -rw-r--r-- | host/lib/usrp/b100/codec_ctrl.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/host/lib/usrp/b100/codec_ctrl.cpp b/host/lib/usrp/b100/codec_ctrl.cpp index 7e9f355d4..4f9036039 100644 --- a/host/lib/usrp/b100/codec_ctrl.cpp +++ b/host/lib/usrp/b100/codec_ctrl.cpp @@ -39,7 +39,7 @@ const gain_range_t b100_codec_ctrl::rx_pga_gain_range(0, 20, 1);  class b100_codec_ctrl_impl : public b100_codec_ctrl{  public:      //structors -    b100_codec_ctrl_impl(b100_iface::sptr iface); +    b100_codec_ctrl_impl(spi_iface::sptr iface);      ~b100_codec_ctrl_impl(void);      //aux adc and dac control @@ -53,7 +53,7 @@ public:      double get_rx_pga_gain(char);  private: -    b100_iface::sptr _iface; +    spi_iface::sptr _iface;      ad9862_regs_t _ad9862_regs;      void send_reg(boost::uint8_t addr);      void recv_reg(boost::uint8_t addr); @@ -62,7 +62,7 @@ private:  /***********************************************************************   * Codec Control Structors   **********************************************************************/ -b100_codec_ctrl_impl::b100_codec_ctrl_impl(b100_iface::sptr iface){ +b100_codec_ctrl_impl::b100_codec_ctrl_impl(spi_iface::sptr iface){      _iface = iface;      //soft reset @@ -278,6 +278,6 @@ void b100_codec_ctrl_impl::recv_reg(boost::uint8_t addr){  /***********************************************************************   * Codec Control Make   **********************************************************************/ -b100_codec_ctrl::sptr b100_codec_ctrl::make(b100_iface::sptr iface){ +b100_codec_ctrl::sptr b100_codec_ctrl::make(spi_iface::sptr iface){      return sptr(new b100_codec_ctrl_impl(iface));  } | 
