aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_iface.cpp
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2011-03-03 10:50:45 -0800
committerNick Foster <nick@nerdnetworks.org>2011-03-03 10:50:45 -0800
commit1b63cd2560886d851f3e2ba98bfddf772c44df34 (patch)
tree126e1bedf44c3e9159c8ab7b2dd1ad52452ea6a0 /host/lib/usrp/usrp1/usrp1_iface.cpp
parent77319389b09c663170284ed64961ab27cf77488e (diff)
downloaduhd-1b63cd2560886d851f3e2ba98bfddf772c44df34.tar.gz
uhd-1b63cd2560886d851f3e2ba98bfddf772c44df34.tar.bz2
uhd-1b63cd2560886d851f3e2ba98bfddf772c44df34.zip
Generalized mboard_iface and added a SPI convenience class a la I2C
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_iface.cpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_iface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_iface.cpp b/host/lib/usrp/usrp1/usrp1_iface.cpp
index 591bbda87..491f76cef 100644
--- a/host/lib/usrp/usrp1/usrp1_iface.cpp
+++ b/host/lib/usrp/usrp1/usrp1_iface.cpp
@@ -95,20 +95,20 @@ public:
}
void poke16(boost::uint32_t addr, boost::uint16_t value) {
- throw std::runtime_error("Unhandled command poke16()");
+ throw uhd::not_implemented_error("Unhandled command poke16()");
}
boost::uint16_t peek16(boost::uint32_t addr) {
- throw std::runtime_error("Unhandled command peek16()");
+ throw uhd::not_implemented_error("Unhandled command peek16()");
return 0;
}
void write_uart(boost::uint8_t dev, const std::string &buf) {
- throw std::runtime_error("Unhandled command write_uart()");
+ throw uhd::not_implemented_error("Unhandled command write_uart()");
}
std::string read_uart(boost::uint8_t dev) {
- throw std::runtime_error("Unhandled command read_uart()");
+ throw uhd::not_implemented_error("Unhandled command read_uart()");
}
/*******************************************************************