aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/e100/codec_ctrl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-28 01:55:26 +0100
committerJosh Blum <josh@joshknows.com>2011-06-28 01:55:26 +0100
commit5b6cce869744d3b643a63f41d13a028b2f85bdcc (patch)
tree9a1368a77152566a768f5268042d9c0f925a0bff /host/lib/usrp/e100/codec_ctrl.cpp
parent208c1aa1a370550ca26cf9a2dc52dcc5fe9693e2 (diff)
downloaduhd-5b6cce869744d3b643a63f41d13a028b2f85bdcc.tar.gz
uhd-5b6cce869744d3b643a63f41d13a028b2f85bdcc.tar.bz2
uhd-5b6cce869744d3b643a63f41d13a028b2f85bdcc.zip
e100: moved e100 into property tree, probes ok...
Diffstat (limited to 'host/lib/usrp/e100/codec_ctrl.cpp')
-rw-r--r--host/lib/usrp/e100/codec_ctrl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/e100/codec_ctrl.cpp b/host/lib/usrp/e100/codec_ctrl.cpp
index a796d5cc5..6efeb10e8 100644
--- a/host/lib/usrp/e100/codec_ctrl.cpp
+++ b/host/lib/usrp/e100/codec_ctrl.cpp
@@ -38,7 +38,7 @@ const gain_range_t e100_codec_ctrl::rx_pga_gain_range(0, 20, 1);
class e100_codec_ctrl_impl : public e100_codec_ctrl{
public:
//structors
- e100_codec_ctrl_impl(e100_iface::sptr iface);
+ e100_codec_ctrl_impl(spi_iface::sptr iface);
~e100_codec_ctrl_impl(void);
//aux adc and dac control
@@ -52,7 +52,7 @@ public:
double get_rx_pga_gain(char);
private:
- e100_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);
@@ -61,7 +61,7 @@ private:
/***********************************************************************
* Codec Control Structors
**********************************************************************/
-e100_codec_ctrl_impl::e100_codec_ctrl_impl(e100_iface::sptr iface){
+e100_codec_ctrl_impl::e100_codec_ctrl_impl(spi_iface::sptr iface){
_iface = iface;
//soft reset
@@ -275,6 +275,6 @@ void e100_codec_ctrl_impl::recv_reg(boost::uint8_t addr){
/***********************************************************************
* Codec Control Make
**********************************************************************/
-e100_codec_ctrl::sptr e100_codec_ctrl::make(e100_iface::sptr iface){
+e100_codec_ctrl::sptr e100_codec_ctrl::make(spi_iface::sptr iface){
return sptr(new e100_codec_ctrl_impl(iface));
}