projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implements USRP2 peek() command, allowing arbitrary reads from the internal
[debian/gnuradio]
/
usrp2
/
host
/
lib
/
usrp2.cc
diff --git
a/usrp2/host/lib/usrp2.cc
b/usrp2/host/lib/usrp2.cc
index ecfc0b30af672c5db0c92b4c7278ea1034f81d3b..136062d08658dd8a075d56485f9aede0471f153e 100644
(file)
--- a/
usrp2/host/lib/usrp2.cc
+++ b/
usrp2/host/lib/usrp2.cc
@@
-395,6
+395,12
@@
namespace usrp2 {
return d_impl->sync_to_pps();
}
+ std::vector<uint8_t>
+ usrp2::peek(uint32_t addr, uint32_t len)
+ {
+ return d_impl->peek(addr, len);
+ }
+
} // namespace usrp2