aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorAshish Chaudhari <ashish@ettus.com>2016-05-06 12:21:41 -0700
committerAshish Chaudhari <ashish@ettus.com>2016-05-16 11:52:06 -0700
commit36075f38e6c8b4f641ba3d1fd97cfd72dcc05e7b (patch)
tree694ac18f5eaf6e10cfa1c664e31a66a99535acce /host/include
parent1c9aea4e15d7e68be56529b78050910ca73b8d0e (diff)
downloaduhd-36075f38e6c8b4f641ba3d1fd97cfd72dcc05e7b.tar.gz
uhd-36075f38e6c8b4f641ba3d1fd97cfd72dcc05e7b.tar.bz2
uhd-36075f38e6c8b4f641ba3d1fd97cfd72dcc05e7b.zip
dboard_iface: Added FE name input to set_fe_connection
- A dboard_base class can have multiple frontends (subdevs) and the set_fe_connection needs to be able to distinguish between them
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/usrp/dboard_iface.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/host/include/uhd/usrp/dboard_iface.hpp b/host/include/uhd/usrp/dboard_iface.hpp
index add22ffa3..52d226004 100644
--- a/host/include/uhd/usrp/dboard_iface.hpp
+++ b/host/include/uhd/usrp/dboard_iface.hpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2013 Ettus Research LLC
+// Copyright 2010-2013,2015-2016 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
@@ -276,9 +276,14 @@ public:
* Configure the front-end connection parameters.
*
* \param unit which unit rx or tx
+ * \param fe_name name of the front-end to update
* \param fe_conn connection parameters class
*/
- virtual void set_fe_connection(unit_t unit, const uhd::usrp::fe_connection_t& fe_conn) = 0;
+ virtual void set_fe_connection(
+ unit_t unit,
+ const std::string& fe_name,
+ const uhd::usrp::fe_connection_t& fe_conn
+ ) = 0;
/*!
* Get the command time.