From 3adecd5bc10c09fb5e66f4bb9422eb8936fd8668 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 29 May 2012 13:13:24 -0700 Subject: usrp1: shutoff DAC digital w/ TX state machine --- host/lib/usrp/usrp1/usrp1_impl.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'host') diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp index fd1b8c193..581f4cbdd 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 #include #include +#include #include #include @@ -141,6 +142,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 -- cgit v1.2.3