summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-03 16:39:16 -0800
committerJosh Blum <josh@joshknows.com>2011-03-03 16:39:16 -0800
commitd2556f45c943e54d1b74afe94bff98cd81661bb2 (patch)
treee33cb98de66846a388792ed7b64cda586cde2ab8 /host/lib/usrp/usrp1
parent98028b366f840efc3b289cc7051bed73aad0963c (diff)
downloaduhd-d2556f45c943e54d1b74afe94bff98cd81661bb2.tar.gz
uhd-d2556f45c943e54d1b74afe94bff98cd81661bb2.tar.bz2
uhd-d2556f45c943e54d1b74afe94bff98cd81661bb2.zip
uhd: removed mb_eeprom from mboard iface (already exposed in property)
also fixed some warnings with unused parameters
Diffstat (limited to 'host/lib/usrp/usrp1')
-rw-r--r--host/lib/usrp/usrp1/usrp1_iface.cpp8
-rw-r--r--host/lib/usrp/usrp1/usrp1_iface.hpp3
2 files changed, 7 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_iface.cpp b/host/lib/usrp/usrp1/usrp1_iface.cpp
index 491f76cef..e90d66c82 100644
--- a/host/lib/usrp/usrp1/usrp1_iface.cpp
+++ b/host/lib/usrp/usrp1/usrp1_iface.cpp
@@ -94,20 +94,20 @@ public:
return uhd::ntohx(value_out);
}
- void poke16(boost::uint32_t addr, boost::uint16_t value) {
+ void poke16(boost::uint32_t, boost::uint16_t) {
throw uhd::not_implemented_error("Unhandled command poke16()");
}
- boost::uint16_t peek16(boost::uint32_t addr) {
+ boost::uint16_t peek16(boost::uint32_t) {
throw uhd::not_implemented_error("Unhandled command peek16()");
return 0;
}
- void write_uart(boost::uint8_t dev, const std::string &buf) {
+ void write_uart(boost::uint8_t, const std::string &) {
throw uhd::not_implemented_error("Unhandled command write_uart()");
}
- std::string read_uart(boost::uint8_t dev) {
+ std::string read_uart(boost::uint8_t) {
throw uhd::not_implemented_error("Unhandled command read_uart()");
}
diff --git a/host/lib/usrp/usrp1/usrp1_iface.hpp b/host/lib/usrp/usrp1/usrp1_iface.hpp
index e808e2959..fdb7464ce 100644
--- a/host/lib/usrp/usrp1/usrp1_iface.hpp
+++ b/host/lib/usrp/usrp1/usrp1_iface.hpp
@@ -32,6 +32,9 @@ class usrp1_iface : public uhd::usrp::mboard_iface, boost::noncopyable{
public:
typedef boost::shared_ptr<usrp1_iface> sptr;
+ //motherboard eeprom map structure
+ uhd::usrp::mboard_eeprom_t mb_eeprom;
+
/*!
* Make a new usrp1 interface with the control transport.
* \param ctrl_transport the usrp controller object