aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-05-30 12:59:18 -0700
committerJosh Blum <josh@joshknows.com>2012-05-30 12:59:18 -0700
commitb61a11031fb21bc3f917574660279d54e4a8643e (patch)
tree6f8584e79ffd162eb51d2351369a7fe70a9d4016 /host/lib/usrp/usrp1
parentbfe3233709b5341831bf3d695e8c130f9590a783 (diff)
parent3adecd5bc10c09fb5e66f4bb9422eb8936fd8668 (diff)
downloaduhd-b61a11031fb21bc3f917574660279d54e4a8643e.tar.gz
uhd-b61a11031fb21bc3f917574660279d54e4a8643e.tar.bz2
uhd-b61a11031fb21bc3f917574660279d54e4a8643e.zip
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp
index 86c1d8b27..bdef50ec1 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.hpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2011 Ettus Research LLC
+// Copyright 2010-2012 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@
#include <uhd/usrp/dboard_eeprom.hpp>
#include <uhd/usrp/dboard_manager.hpp>
#include <uhd/transport/usb_zero_copy.hpp>
+#include <boost/foreach.hpp>
#include <boost/weak_ptr.hpp>
#include <complex>
@@ -143,6 +144,10 @@ private:
void enable_tx(bool enb){
_tx_enabled = enb;
_fx2_ctrl->usrp_tx_enable(enb);
+ BOOST_FOREACH(const std::string &key, _dbc.keys())
+ {
+ _dbc[key].codec->enable_tx_digital(enb);
+ }
}
//conditionally disable and enable rx