aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
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/lib/usrp/usrp2
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/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/dboard_iface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/usrp2/dboard_iface.cpp b/host/lib/usrp/usrp2/dboard_iface.cpp
index b4066898e..a6ba1e0b7 100644
--- a/host/lib/usrp/usrp2/dboard_iface.cpp
+++ b/host/lib/usrp/usrp2/dboard_iface.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010-2012,2015 Ettus Research LLC
+// Copyright 2010-2012,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
@@ -75,7 +75,7 @@ public:
std::vector<double> get_clock_rates(unit_t);
void set_clock_enabled(unit_t, bool);
double get_codec_rate(unit_t);
- void set_fe_connection(unit_t unit, const fe_connection_t& fe_conn);
+ void set_fe_connection(unit_t unit, const std::string&, const fe_connection_t& fe_conn);
void write_spi(
unit_t unit,
@@ -353,7 +353,7 @@ void usrp2_dboard_iface::set_command_time(const uhd::time_spec_t& t)
_wb_iface->set_time(t);
}
-void usrp2_dboard_iface::set_fe_connection(unit_t, const fe_connection_t&)
+void usrp2_dboard_iface::set_fe_connection(unit_t, const std::string&, const fe_connection_t&)
{
throw uhd::not_implemented_error("fe connection configuration support not implemented");
}