From d2556f45c943e54d1b74afe94bff98cd81661bb2 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 3 Mar 2011 16:39:16 -0800 Subject: uhd: removed mb_eeprom from mboard iface (already exposed in property) also fixed some warnings with unused parameters --- host/lib/usrp/usrp1/usrp1_iface.cpp | 8 ++++---- host/lib/usrp/usrp1/usrp1_iface.hpp | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'host/lib/usrp/usrp1') 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 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 -- cgit v1.2.3